tango.time.chrono.Hebrew

License:

BSD style: see license.txt

Version:

Mid 2005: Initial release Apr 2007: reshaped

Author:

John Chapman, Kris, snoyberg
class Hebrew : Calendar [public]
Represents the Hebrew calendar.
uint HEBREW_ERA [public, manifest]
Represents the current era.
Time toTime(uint year, uint month, uint day, uint hour, uint minute, uint second, uint millisecond, uint era) [public, override, const]
Overridden. Returns a Time value set to the specified date and time in the specified _era.

Parameters:

yearAn integer representing the _year.
monthAn integer representing the _month.
dayAn integer representing the _day.
hourAn integer representing the _hour.
minuteAn integer representing the _minute.
secondAn integer representing the _second.
millisecondAn integer representing the _millisecond.
eraAn integer representing the _era.

Returns:

A Time set to the specified date and time.
DayOfWeek getDayOfWeek(const(Time) time) [public, override, const]
Overridden. Returns the day of the week in the specified Time.

Parameters:

timeA Time value.

Returns:

A DayOfWeek value representing the day of the week of time.
uint getDayOfMonth(const(Time) time) [public, override, const]
Overridden. Returns the day of the month in the specified Time.

Parameters:

timeA Time value.

Returns:

An integer representing the day of the month of time.
uint getDayOfYear(const(Time) time) [public, override, const]
Overridden. Returns the day of the year in the specified Time.

Parameters:

timeA Time value.

Returns:

An integer representing the day of the year of time.
uint getMonth(const(Time) time) [public, override, const]
Overridden. Returns the month in the specified Time.

Parameters:

timeA Time value.

Returns:

An integer representing the month in time.
uint getYear(const(Time) time) [public, override, const]
Overridden. Returns the year in the specified Time.

Parameters:

timeA Time value.

Returns:

An integer representing the year in time.
uint getEra(const(Time) time) [public, override, const]
Overridden. Returns the era in the specified Time.

Parameters:

timeA Time value.

Returns:

An integer representing the ear in time.
uint getDaysInMonth(uint year, uint month, uint era) [public, override, const]
Overridden. Returns the number of days in the specified _year and _month of the specified _era.

Parameters:

yearAn integer representing the _year.
monthAn integer representing the _month.
eraAn integer representing the _era.

Returns:

The number of days in the specified _year and _month of the specified _era.
uint getDaysInYear(uint year, uint era) [public, override, const]
Overridden. Returns the number of days in the specified _year of the specified _era.

Parameters:

yearAn integer representing the _year.
eraAn integer representing the _era.

Returns:

The number of days in the specified _year in the specified _era.
uint getMonthsInYear(uint year, uint era) [public, override, const]
Overridden. Returns the number of months in the specified _year of the specified _era.

Parameters:

yearAn integer representing the _year.
eraAn integer representing the _era.

Returns:

The number of months in the specified _year in the specified _era.
bool isLeapYear(uint year, uint era) [public, override, const]
Overridden. Indicates whether the specified _year in the specified _era is a leap _year.

Parameters:

yearAn integer representing the _year.

Parameters:

eraAn integer representing the _era.

Returns:

true is the specified _year is a leap _year; otherwise, false.
uint[] eras() [public, override, const]
Property. Overridden. Retrieves the list of eras in the current calendar.

Returns:

An integer array representing the eras in the current calendar.
uint id() [public, override, const]
Property. Overridden. Retrieves the identifier associated with the current calendar.

Returns:

An integer representing the identifier of the current calendar.