HijriVariant

Rule set used to convert between Gregorian and Hijri dates.

Entries

Link copied to clipboard

Saudi Arabia's official Umm al-Qura calendar, supported for 1300-01-01 .. 1600-12-30 AH (1882-11-12 .. 2174-11-25). It is calculated in advance; religious dates announced after a moon sighting may differ by a day.

Link copied to clipboard

Arithmetic (civil) Islamic calendar: epoch 16 July 622 (Julian), 30-year cycle with leap years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29. Unbounded, but can differ from observed dates by a day or two.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.