| Package | Description |
|---|---|
| net.time4j.calendar.bahai |
Support for the Badi calendar.
|
| Modifier and Type | Field and Description |
|---|---|
static StdCalendarElement<Integer,BadiCalendar> |
BadiCalendar.DAY_OF_DIVISION
Represents the day of month or an intercalary day.
|
static StdCalendarElement<Weekday,BadiCalendar> |
BadiCalendar.DAY_OF_WEEK
Represents the day of week.
|
static StdCalendarElement<Integer,BadiCalendar> |
BadiCalendar.DAY_OF_YEAR
Represents the day of year.
|
static StdCalendarElement<BadiMonth,BadiCalendar> |
BadiCalendar.MONTH_OF_YEAR
Represents the month if available.
|
static StdCalendarElement<Integer,BadiCalendar> |
BadiCalendar.VAHID
Represents the vahid cycle which consists of 19 years.
|
static StdCalendarElement<Integer,BadiCalendar> |
BadiCalendar.YEAR_OF_ERA
Represents the proleptic year of era (relative to gregorian year 1844).
|
| Modifier and Type | Method and Description |
|---|---|
static BadiCalendar |
BadiCalendar.nowInSystemTime()
Obtains the current calendar date in system time.
|
static BadiCalendar |
BadiCalendar.of(int vahid,
int yearOfVahid,
BadiMonth month,
int day)
Creates a new instance of a Badi calendar date in first major cycle (gregorian years 1844-2204).
|
static BadiCalendar |
BadiCalendar.of(int vahid,
int yearOfVahid,
int month,
int day)
Creates a new instance of a Badi calendar date in first major cycle (gregorian years 1844-2204).
|
static BadiCalendar |
BadiCalendar.ofComplete(BadiEra era,
int yearOfEra,
BadiDivision division,
int day)
Creates a new instance of a Badi calendar date.
|
static BadiCalendar |
BadiCalendar.ofComplete(int kullishay,
int vahid,
int yearOfVahid,
BadiDivision division,
int day)
Creates a new instance of a Badi calendar date.
|
static BadiCalendar |
BadiCalendar.ofIntercalary(int vahid,
int yearOfVahid,
int day)
Creates a new instance of a Badi calendar date in first major cycle (gregorian years 1844-2204).
|
| Modifier and Type | Method and Description |
|---|---|
GeneralTimestamp<BadiCalendar> |
BadiCalendar.at(PlainTime time)
Creates a new local timestamp with this date and given wall time.
|
GeneralTimestamp<BadiCalendar> |
BadiCalendar.atTime(int hour,
int minute)
Is equivalent to
at(PlainTime.of(hour, minute)). |
static TimeAxis<BadiCalendar.Unit,BadiCalendar> |
BadiCalendar.axis()
Returns the associated time axis.
|
| Modifier and Type | Method and Description |
|---|---|
long |
BadiCalendar.Unit.between(BadiCalendar start,
BadiCalendar end)
Calculates the difference between given calendar dates in this unit.
|
Copyright © 2014–2021. All rights reserved.