Class BahaiDateTime

All Implemented Interfaces:
Serializable, Comparable<DateTime>, DateTime, OsidPrimitive, DateTime, OsidPrimitive

public final class BahaiDateTime extends AbstractConfigurableDateTime implements DateTime
A Bahai (Badi') date. The date follows the BahaiCalendar; nineteen nineteen-day months and the intercalary Ayyam-i-Ha, in the Bahai era. It carries no time of day -- the time is a NoTimeSystem and the datetime is a date.

Its day begins at sunset, not at the start of the clock, so a sub-day instant cannot be converted into this calendar (the DateTimeConverter rejects it); a day-or-coarser date converts normally.

As with the Gregorian implementation, a granularity is valid only when this interface has an element to convey it; the grouping resolutions without an element of their own (DECADE, BLUEMOON, GLACIAL) are rejected at construction.

See Also: