Please vote on std.datetime

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Dec 9 20:54:54 PST 2010


I don't usually see a library with that many unittests. It looks
pretty big, and if all these unittests pass that's great!

I like this little convenient function:
assert(DateTime.fromSimpleString("1998-Dec-25 02:15:00") ==
DateTime(Date(1998, 12, 25), TimeOfDay(2, 15, 0)));

If my vote counts, I vote yes.

On 12/10/10, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> On 12/9/10 8:11 PM, Jesse Phillips wrote:
>> Andrei Alexandrescu Wrote:
>>
>>> Jonathan M. Davis has diligently worked on his std.datetime proposal,
>>> and it has been through a few review cycles in this newsgroup.
>>>
>>> It's time to vote. Please vote for or against inclusion of datetime into
>>> Phobos, along with your reasons.
>>>
>>>
>>> Thank you,
>>>
>>> Andrei
>>
>> Well I haven't looked at it so I don't want to claim a strong opinion, but
>> others are probably in the same boat thinking that std.date needs replaced
>> and std.datetime sounds good. I also have no issue with a unittest module.
>
> I suggest to at least skim through the documentation and/or the code. If
> you use D in any capacity, you'll need at some time or another to use
> std.datetime, so this is a better time than any other to take a look at
> it and voice opinions.
>
> Andrei
>


More information about the Digitalmars-d mailing list