[gstreamer-bugs] [Bug 594504] Need a GType of "Date AND Time AND Timezone"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 8 08:04:19 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=594504



--- Comment #6 from Sebastian Dröge <slomo at circular-chaos.org> 2009-09-08 15:04:17 UTC ---
For the time in nanoseconds since start of day we would need 47 bits. Sounds
good IMHO.

For the timezone we would need 6 bits, DST 1 bit. This makes 54 bits, leaving
74 bits for the date itself.

So offset in days from whatever date you want should be possible, so let's take
MJD. Note however that it's not really trivial to convert this into YYYY-MM-DD
notation because of leap years and all that. But it's not too complex, even
GLib does it for GDate ;)


Another thing that we should think about is the serialization that we want.

-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list