[gstreamer-bugs] [Bug 594504] Need a GType of "Date AND Time AND Timezone"
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Sep 8 07:47:31 PDT 2009
http://bugzilla.gnome.org/show_bug.cgi?id=594504
Sebastian Dröge <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |slomo at circular-chaos.org
--- Comment #3 from Sebastian Dröge <slomo at circular-chaos.org> 2009-09-08 14:47:26 UTC ---
For defining how we store this in a GValue please keep in mind, that we have
2*64 bits that can be filled. But we should nonetheless use BCD because it
wastes space for nothing (AFAIK it's only useful if you want to directly show
it on those 7 element LED displays).
I guess with the 2*64 bits we can even get nanoseconds resolution.
Now the question is how we represent all those parts.
Date: Some kind of MJD or YYYY-MM-DD format or +-days since some date? Or
multiple possible formats like in S12M, which are selected by a single bit?
Time: Nano/Micro/Milliseconds from start of day? Or all parts separate, i.e.
HH:MM:SS.X?
Timezone: Probably something like the Timezone representation in S309M, i.e. an
enumeration for the 48 possible timezones.
--
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