On 08/03/2012 13:45, Jacob Carlborg wrote:
On 2012-03-08 02:22, Stewart Gordon wrote:
<snip>
My utility library has, for consistency, DateValue.now, TimeValue.now
and DateTime.now.

Cool. Why the "Value" suffix?

As far as I can remember, DateValue was named to avert confusion with the Date struct in Phobos. TimeValue was named analogously.

OTOH, there wasn't anything called DateTime in Phobos at the time, and DateTimeValue was unnecessarily wordy, so I just stuck with DateTime.

Steawrt.

Reply via email to