Measurement of the mass of the D^{0} meson