Flavio S. Glock <[EMAIL PROTECTED]> schrieb/wrote: > print $dtij->has( 'month' ); > # 0 > print $dtim->has( 'kin' ); > # 1 > print $dtim->get( 'kin' ); > # 8
We can also have autoloaded procedures like has_month(), get_month() or just month(). > You can get a 'normal' DateTime by calling > $dtj2 = $dtij->to_datetime; > $dtj2 = $dtij->to_datetime( base => $other_julian_base ); > $dtm2 = $dtim->to_datetime( base => $other_mayan_base ); There should be a way to specify whether the next, previous or nearest point in time relative to the base date is selected. Claus -- http://www.faerber.muc.de
