You will need a single MayanChronology class, and then different
classes for each of the fields, such as year, month and day. The
chronology will extends Chronology, or one of its subclasses (see
CopticChronology for an example). The fields extend DateTimeField, or
one of its helpful subclasses. There isn't much documentation to
support this, so you'll need to examine code like Coptic chrono.

If you would like to donate the result to Joda-Time with tests, then I
could consider including the code in a future Joda-Time release.

Stephen

On 26 January 2011 17:43, nwmotogeek <[email protected]> wrote:
> If I wanted to add a Mayan Calendar to Joda what classes do I need to
> inherit from to accomplish this?
> I checked through 'some' of the documentation but didn't find the obvious
> answer.
> Thanks,
> -Dave
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Joda-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to