On Thu, 3 Apr 2003, Joshua Hoblitt wrote:

> > > - what other methods would be useful?
> >
> > Offhand, ->set(), ->add(), ->subtract(), accessors for each component
> > (baktun, katun, etc.)
>
> ->set_baktun or ->set( baktun => ... ) ?  Should DT::Duration objects be

I think ->set( baktun => ... ).  And no, there's no need to support
DT::Duration objects.

> > Why does from_object take a language parameter?  Cut and paste-o?  It's
> > not being used internally.
>
> I was thinking that there might be some Mayan glyphs in UTF8. :)

Ok.  That's fine with me, but then you really need to put the language
param in new()

> > Also, according to Abigail's Data::Maya module, there are three possible
> > Mayan epochs.  Maybe this should be changeable on a per-object basis.
>
> I haven't looked at her module (but I will now that I know it exists).
> The epoch is already separated out for easy changes.  I was thinking of
> a ->set_epoch() that can select from built-ins or accept an epoch in rd.

Actually, Abigail is a he.  Don't ask me.

->set_epoch sounds good, but you'll also need an "epoch" param to the
constructor(s).


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to