On Mon, Apr 12, 2010 at 6:38 AM, Mark J. Reed <markjr...@gmail.com> wrote:

> I think that having a standard, minimal API for this defined in core as a
>> Date role would be ideal.
>
>
> Agreed.  In fact, I'd like to see DateTime be defined explicitly as a
> superset (subrole) of Date, with a method for extracting just the Date
> portion built in to DateTime.
>

Er, I meant that to read "(subrole?)".  Not sure that inheritance is the way
to go here, but I do think that logically a DateTime should be built on top
of a Date, rather than having Date be a whittled-down DateTime with
too-different an API.

-- 
Mark J. Reed <markjr...@gmail.com>

Reply via email to