Uses of Interface
net.time4j.engine.CalendarDate
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Support for various regional calendars.
Contains classes related to calendrical astronomy.
Support for the Badi calendar.
Support for the French revolutionary calendar.
Support for the traditional Hindu calendar family.
Defines the common generic schemes and interfaces of chronological
systems.
This package contains the expert-level format- and parse engine of Time4J.
-
Uses of CalendarDate in net.time4j
Modifier and TypeClassDescriptionclass
Represents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules for all times. -
Uses of CalendarDate in net.time4j.calendar
Modifier and TypeClassDescriptionclass
Represents the Chinese calendar supported in the gregorian range 1645-01-28/3000-01-27.class
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
Represents the calendar used in Ethiopia.class
Represents the calendar used by the worldwide Jewish community, but mainly in Israel for religious purposes.class
Represents the Hijri calendar used in many islamic countries.class
Represents the historic christian calendar used in most European countries.class
Represents the national calendar of India.class
Represents the Japanese calendar from 701 AD (julian) until now.class
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
Represents the proleptic Julian calendar.class
Represents the traditional Koran calendar supported in the gregorian range 1645-01-28/3000-01-27.class
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
Represents the Solar Hijri calendar which is officially used in Iran and Afghanistan.class
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
Represents the Vietnamese calendar supported in the gregorian range 1813-02-01/3000-01-27.Modifier and TypeMethodDescriptionstatic <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Integer,T>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>
StdCalendarElement<Integer,T>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>
StdCalendarElement<Weekday,T>CommonElements.localDayOfWeek(Chronology<T> chronology, Weekmodel model)
Defines an element for the weekday with a localized day number in the value range1-7
.static <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Integer,T>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>
StdCalendarElement<Integer,T>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 TypeMethodDescriptionHebrewAnniversary.inGregorianYear(int gyear)
Determines the input calendar date as original event date and determines the anniversary days of this event in given gregorian year.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 TypeMethodDescriptionint
ThaiSolarEra.getYear(CalendarDate date)
Determines the Thai year corresponding to given calendar date. -
Uses of CalendarDate in net.time4j.calendar.astro
Modifier and TypeMethodDescriptionSolarTime.midnightSun()
Determines if the sun is visible all day on a given calendar date.SolarTime.polarNight()
Determines if the sun is invisible all day on a given calendar date.SolarTime.sunrise()
Calculates the moment of sunrise at the location of this instance.Calculates the time of given twilight at sunrise and the location of this instance.SolarTime.sunset()
Calculates the moment of sunset at the location of this instance.Calculates the time of given twilight at sunset and the location of this instance.Queries a given calendar date for its associated sunshine data.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.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.SolarTime.transitAtMidnight()
Calculates the moment of midnight at the location of this instance (lowest position of sun).SolarTime.transitAtNoon()
Calculates the moment of noon at the location of this instance (solar transit).Modifier and TypeMethodDescriptionstatic JulianDay
JulianDay.ofEphemerisTime(CalendarDate date, PlainTime time, ZonalOffset offset)
Creates a Julian day on the time scaleTimeScale.TT
, sometimes also called Julian Ephemeris Day.LunarTime.on(CalendarDate date)
Determines moonrise and moonset on given calendar date.SolarTime.Calculator.sunrise(CalendarDate date, double latitude, double longitude, double zenith)
Calculates the moment of sunrise.SolarTime.Calculator.sunset(CalendarDate date, double latitude, double longitude, double zenith)
Calculates the moment of sunset. -
Uses of CalendarDate in net.time4j.calendar.bahai
Modifier and TypeClassDescriptionclass
Represents the calendar used by the Baha'i community. -
Uses of CalendarDate in net.time4j.calendar.frenchrev
Modifier and TypeClassDescriptionclass
Represents the calendar used in French Revolution between 1792 and 1805. -
Uses of CalendarDate in net.time4j.calendar.hindu
Modifier and TypeClassDescriptionclass
The traditional Hindu calendar which exists in many regional variants throughout the Indian subcontinent. -
Uses of CalendarDate in net.time4j.engine
Modifier and TypeClassDescriptionclass
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 TypeMethodDescriptionOptional<Chronology<? extends CalendarDate>>
CalendarProvider.findChronology(String name)
Obtains a suitable chronology for given name.Modifier and TypeMethodDescriptionstatic 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
CalendarVariant.isAfter(CalendarDate other)
boolean
Calendrical.isAfter(CalendarDate date)
boolean
CalendarVariant.isBefore(CalendarDate other)
boolean
Calendrical.isBefore(CalendarDate date)
boolean
CalendarVariant.isSimultaneous(CalendarDate other)
boolean
Calendrical.isSimultaneous(CalendarDate date)
Modifier and TypeMethodDescriptionstatic <T extends UnixTime>
StartOfDayStartOfDay.definedBy(ChronoFunction<CalendarDate,Optional<T>> event)
Obtains the start of a calendar day as determined by given date function. -
Uses of CalendarDate in net.time4j.format.expert
Modifier and TypeMethodDescriptionstatic ChronoFormatter<CalendarDate>
ChronoFormatter.ofGenericCalendarPattern(String pattern, Locale locale)
Constructs a CLDR-pattern-based formatter for general calendar chronologies.static ChronoFormatter<CalendarDate>
ChronoFormatter.ofGenericCalendarStyle(FormatStyle style, Locale locale)
Constructs a style-based formatter for general calendar chronologies which are compatible to CLDR.static ChronoFormatter<CalendarDate>
ChronoFormatter.ofGenericCalendarStyle(DisplayMode style, Locale locale)
Deprecated.
ChronoFormatter.ofGenericCalendarStyle(FormatStyle, Locale)