Re: Yet another Gregorian.d contribution

2010-08-23 Thread Yao G.
I forgot to add DayClock to get the local and UTC date: http://ideone.com/SkKkP (line 805) -- Yao G.

Yet another Gregorian.d contribution

2010-08-22 Thread Yao G.
Well, as the title says. I needed a date library for a small D project I'm working. I tried to use the Gregorian.d module that Andrei started, but as it was just a simple draft, it lacked a lot of content. And as Boost's date_time was the basis for Andrei's work, and I had prior experience

Re: Yet another Gregorian.d contribution

2010-08-22 Thread Yao G.
On Sun, 22 Aug 2010 18:43:45 -0500, Yao G. nospam...@gmail.com wrote: [snip] Sorry, this is the correct link: http://ideone.com/i3y9Y -- Yao G.

Re: Yet another Gregorian.d contribution

2010-08-22 Thread Yao G.
On Sun, 22 Aug 2010 18:43:45 -0500, Yao G. nospam...@gmail.com wrote: [snippity snip] Damn! I did another mistake! Here's the code, I hope I don't make another mistake :'( http://ideone.com/QXJwa -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

ISO-8601 WIP [Was: Yet another Gregorian.d contribution]

2010-08-22 Thread Yao G.
And here's the starting point to conversion from and to ISO-8601 dates and times: http://ideone.com/aZEaL This will be expanded as new date and time structures are implemented. -- Yao G.