GDateTime

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

GDateTime

Christian Hergert-3
Hello good folks,

I spent some of my free time recently putting together a DateTime
solution for GLib.  It is starting to get to the point where it is
usable.  Most of the work now seems to be finishing up string parsing,
polish, improving documentation, and i18n/l10n compliance for which I
could use suggestions and comments from the community.

The GDateTime opaque type represents a date and time down to
100-nanosecond intervals between 1/1/1 and 12/31/9999.  I find it
considerably easier to use when compared to time_t, struct tm, and other
limiting time types.

My branch is the "datetime" branch available at
git://git.dronelabs.com/glib.

This is my first attempt at building something for glib so please let me
know if I've not followed some conventions properly.

-- Christian


_______________________________________________
gtk-devel-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: GDateTime

Behdad Esfahbod-3
Hi Christian,

Can we move discussion here:
https://bugzilla.gnome.org/show_bug.cgi?id=344005

behdad

On 10/04/2009 04:57 AM, Christian Hergert wrote:

> Hello good folks,
>
> I spent some of my free time recently putting together a DateTime
> solution for GLib.  It is starting to get to the point where it is
> usable.  Most of the work now seems to be finishing up string parsing,
> polish, improving documentation, and i18n/l10n compliance for which I
> could use suggestions and comments from the community.
>
> The GDateTime opaque type represents a date and time down to
> 100-nanosecond intervals between 1/1/1 and 12/31/9999.  I find it
> considerably easier to use when compared to time_t, struct tm, and other
> limiting time types.
>
> My branch is the "datetime" branch available at
> git://git.dronelabs.com/glib.
>
> This is my first attempt at building something for glib so please let me
> know if I've not followed some conventions properly.
>
> -- Christian
>
>
> _______________________________________________
> gtk-devel-list mailing list
> [hidden email]
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
_______________________________________________
gtk-devel-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: GDateTime

Behdad Esfahbod-3
On 10/04/2009 06:07 PM, Behdad Esfahbod wrote:
> Hi Christian,
>
> Can we move discussion here:
> https://bugzilla.gnome.org/show_bug.cgi?id=344005

Err, I noticed that it's not exactly the same thing, but the two need to be
discussed together.

behdad

> behdad
>
> On 10/04/2009 04:57 AM, Christian Hergert wrote:
>> Hello good folks,
>>
>> I spent some of my free time recently putting together a DateTime
>> solution for GLib. It is starting to get to the point where it is
>> usable. Most of the work now seems to be finishing up string parsing,
>> polish, improving documentation, and i18n/l10n compliance for which I
>> could use suggestions and comments from the community.
>>
>> The GDateTime opaque type represents a date and time down to
>> 100-nanosecond intervals between 1/1/1 and 12/31/9999. I find it
>> considerably easier to use when compared to time_t, struct tm, and other
>> limiting time types.
>>
>> My branch is the "datetime" branch available at
>> git://git.dronelabs.com/glib.
>>
>> This is my first attempt at building something for glib so please let me
>> know if I've not followed some conventions properly.
>>
>> -- Christian
>>
>>
>> _______________________________________________
>> gtk-devel-list mailing list
>> [hidden email]
>> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>>
_______________________________________________
gtk-devel-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: GDateTime

Tim-Philipp Müller
On Sun, 2009-10-04 at 18:07 -0400, Behdad Esfahbod wrote:

> > Can we move discussion here:
> > https://bugzilla.gnome.org/show_bug.cgi?id=344005
>
> Err, I noticed that it's not exactly the same thing, but the two need to be
> discussed together.

FWIW, there's also

https://bugzilla.gnome.org/show_bug.cgi?id=50076
(Time API to go with date API)

 Cheers
  -Tim


_______________________________________________
gtk-devel-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list