Package | Description |
---|---|
net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate , PlainTime , PlainTimestamp
and Moment . |
net.time4j.calendar |
Support for various regional calendars.
|
net.time4j.calendar.astro |
Contains classes related to calendrical astronomy.
|
net.time4j.calendar.bahai |
Support for the Badi calendar.
|
net.time4j.calendar.frenchrev |
Support for the French revolutionary calendar.
|
net.time4j.calendar.hindu |
Support for the traditional Hindu calendar family.
|
net.time4j.engine |
Defines the common generic schemes and interfaces of chronological
systems.
|
net.time4j.format.expert |
This package contains the expert-level format- and parse engine of Time4J.
|
net.time4j.ui.javafx |
Support for various JavaFX-components related to Time4J.
|
Modifier and Type | Class and Description |
---|---|
class |
PlainDate
Represents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules
for all times.
|
Modifier and Type | Class and Description |
---|---|
class |
ChineseCalendar
Represents the Chinese calendar supported in the gregorian range 1645-01-28/3000-01-27.
|
class |
CopticCalendar
Represents the calendar used by the Coptic church in Egypt.
|
class |
EastAsianCalendar<U,D extends EastAsianCalendar<U,D>>
Base class of all calendars which are derivates of the lunisolar rural calendar invented in China.
|
class |
EthiopianCalendar
Represents the calendar used in Ethiopia.
|
class |
HebrewCalendar
Represents the calendar used by the worldwide Jewish community, but mainly in Israel for religious purposes.
|
class |
HijriCalendar
Represents the Hijri calendar used in many islamic countries.
|
class |
HistoricCalendar
Represents the historic christian calendar used in most European countries.
|
class |
IndianCalendar
Represents the national calendar of India.
|
class |
JapaneseCalendar
Represents the Japanese calendar from 701 AD (julian) until now.
|
class |
JucheCalendar
The Juche calendar used in North Korea uses as only difference to western gregorian
calendar a different year numbering with the Juche era 1912-01-01.
|
class |
JulianCalendar
Represents the proleptic Julian calendar.
|
class |
KoreanCalendar
Represents the traditional Koran calendar supported in the gregorian range 1645-01-28/3000-01-27.
|
class |
MinguoCalendar
The Minguo calendar used in Taiwan (Republic Of China) uses as only difference to western gregorian
calendar a different year numbering with the Minguo era 1912-01-01.
|
class |
PersianCalendar
Represents the Solar Hijri calendar which is officially used in Iran and Afghanistan.
|
class |
ThaiSolarCalendar
The Thai solar calendar calendar used in Thailand uses as only difference to western gregorian
calendar a different year numbering with the Buddhist era mainly.
|
class |
VietnameseCalendar
Represents the Vietnamese calendar supported in the gregorian range 1813-02-01/3000-01-27.
|
Modifier and Type | Method and Description |
---|---|
static <T extends ChronoEntity<T> & CalendarDate> |
CommonElements.boundedWeekOfMonth(Chronology<T> chronology,
Weekmodel model)
Creates an integer element for the week of month in given chronology dependent on given week model
and constrained by month boundaries.
|
static <T extends ChronoEntity<T> & CalendarDate> |
CommonElements.boundedWeekOfYear(Chronology<T> chronology,
Weekmodel model)
Creates an integer element for the week of year in given chronology dependent on given week model
and constrained by year boundaries.
|
static <T extends ChronoEntity<T> & CalendarDate> |
CommonElements.localDayOfWeek(Chronology<T> chronology,
Weekmodel model)
Defines an element for the weekday with a localized day number in
the value range
1-7 . |
static <T extends ChronoEntity<T> & CalendarDate> |
CommonElements.weekOfMonth(Chronology<T> chronology,
Weekmodel model)
Creates an integer element for the week of month in given chronology dependent on given week model.
|
static <T extends ChronoEntity<T> & CalendarDate> |
CommonElements.weekOfYear(Chronology<T> chronology,
Weekmodel model)
Creates an integer element for the week of year in given chronology dependent on given week model.
|
Modifier and Type | Method and Description |
---|---|
ChronoFunction<CalendarDate,List<PlainDate>> |
HebrewAnniversary.inGregorianYear(int gyear)
Determines the input calendar date as original event date and determines the anniversary days of this event
in given gregorian year.
|
ChronoFunction<CalendarDate,HebrewCalendar> |
HebrewAnniversary.inHebrewYear(int hyear)
Determines the input calendar date as original event date and determines the anniversary day of this event
in given hebrew year.
|
Modifier and Type | Method and Description |
---|---|
int |
ThaiSolarEra.getYear(CalendarDate date)
Determines the Thai year corresponding to given calendar date.
|
Modifier and Type | Method and Description |
---|---|
ChronoCondition<CalendarDate> |
SolarTime.midnightSun()
Determines if the sun is visible all day on a given calendar date.
|
ChronoCondition<CalendarDate> |
SolarTime.polarNight()
Determines if the sun is invisible all day on a given calendar date.
|
ChronoFunction<CalendarDate,Optional<Moment>> |
SolarTime.sunrise()
Calculates the moment of sunrise at the location of this instance.
|
ChronoFunction<CalendarDate,Optional<Moment>> |
SolarTime.sunrise(Twilight twilight)
Calculates the time of given twilight at sunrise and the location of this instance.
|
ChronoFunction<CalendarDate,Optional<Moment>> |
SolarTime.sunset()
Calculates the moment of sunset at the location of this instance.
|
ChronoFunction<CalendarDate,Optional<Moment>> |
SolarTime.sunset(Twilight twilight)
Calculates the time of given twilight at sunset and the location of this instance.
|
ChronoFunction<CalendarDate,SolarTime.Sunshine> |
SolarTime.sunshine(TZID tzid)
Queries a given calendar date for its associated sunshine data.
|
ChronoFunction<CalendarDate,Optional<Moment>> |
SolarTime.timeOfShadowAfterNoon(double objectHeight,
double shadowLength)
Calculates the moment after noon when the given shadow occurs on given date
at the location of this instance.
|
ChronoFunction<CalendarDate,Optional<Moment>> |
SolarTime.timeOfShadowBeforeNoon(double objectHeight,
double shadowLength)
Calculates the moment before noon when the given shadow occurs on given date
at the location of this instance.
|
ChronoFunction<CalendarDate,Moment> |
SolarTime.transitAtMidnight()
Calculates the moment of midnight at the location of this instance (lowest position of sun).
|
ChronoFunction<CalendarDate,Moment> |
SolarTime.transitAtNoon()
Calculates the moment of noon at the location of this instance (solar transit).
|
Modifier and Type | Method and Description |
---|---|
static JulianDay |
JulianDay.ofEphemerisTime(CalendarDate date,
PlainTime time,
ZonalOffset offset)
Creates a Julian day on the time scale
TimeScale.TT ,
sometimes also called Julian Ephemeris Day. |
LunarTime.Moonlight |
LunarTime.on(CalendarDate date)
Determines moonrise and moonset on given calendar date.
|
Optional<Moment> |
SolarTime.Calculator.sunrise(CalendarDate date,
double latitude,
double longitude,
double zenith)
Calculates the moment of sunrise.
|
Optional<Moment> |
SolarTime.Calculator.sunset(CalendarDate date,
double latitude,
double longitude,
double zenith)
Calculates the moment of sunset.
|
Modifier and Type | Class and Description |
---|---|
class |
BadiCalendar
Represents the calendar used by the Baha'i community.
|
Modifier and Type | Class and Description |
---|---|
class |
FrenchRepublicanCalendar
Represents the calendar used in French Revolution between 1792 and 1805.
|
Modifier and Type | Class and Description |
---|---|
class |
HinduCalendar
The traditional Hindu calendar which exists in many regional variants throughout the Indian
subcontinent.
|
Modifier and Type | Class and Description |
---|---|
class |
CalendarVariant<D extends CalendarVariant<D>>
Represents an immutable calendar variant.
|
class |
Calendrical<U,D extends Calendrical<U,D>>
Abstract base class of all plain calendar date types which are
convertible via their day epoch numbers.
|
Modifier and Type | Method and Description |
---|---|
Optional<Chronology<? extends CalendarDate>> |
CalendarProvider.findChronology(String name)
Obtains a suitable chronology for given name.
|
Modifier and Type | Method and Description |
---|---|
static CalendarDays |
CalendarDays.between(CalendarDate start,
CalendarDate end)
Calculates the delta of calendar days between given calendar dates.
|
abstract int |
StartOfDay.getDeviation(CalendarDate calendarDay,
TZID tzid)
Yields the start of given calendar day relative to midnight in seconds.
|
boolean |
Calendrical.isAfter(CalendarDate date) |
boolean |
CalendarVariant.isAfter(CalendarDate other) |
boolean |
Calendrical.isBefore(CalendarDate date) |
boolean |
CalendarVariant.isBefore(CalendarDate other) |
boolean |
Calendrical.isSimultaneous(CalendarDate date) |
boolean |
CalendarVariant.isSimultaneous(CalendarDate other) |
Modifier and Type | Method and Description |
---|---|
static <T extends UnixTime> |
StartOfDay.definedBy(ChronoFunction<CalendarDate,Optional<T>> event)
Obtains the start of a calendar day as determined by given date function.
|
Modifier and Type | Method and Description |
---|---|
static ChronoFormatter<CalendarDate> |
ChronoFormatter.ofGenericCalendarPattern(String pattern,
Locale locale)
Constructs a CLDR-pattern-based formatter for general calendar chronologies.
|
static ChronoFormatter<CalendarDate> |
ChronoFormatter.ofGenericCalendarStyle(DisplayMode style,
Locale locale)
Constructs a style-based formatter for general calendar chronologies which are compatible to CLDR.
|
Modifier and Type | Class and Description |
---|---|
class |
CalendarPicker<T extends CalendarDate>
Represents a combination of a text editor and a button which can open a calendar view for picking
any arbitrary calendar date.
|
interface |
CellCustomizer<T extends CalendarDate>
Enables customizations of date cells in the month view.
|
Copyright © 2014–2020. All rights reserved.