Uses of Interface
net.time4j.engine.ChronoFunction
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.
Defines the common generic schemes and interfaces of chronological
systems.
Interval support.
-
Uses of ChronoFunction in net.time4j
Modifier and TypeMethodDescriptionDayPeriod.approximate()
Equivalent toapproximate(TextWidth.WIDE, OutputContext.FORMAT)
.DayPeriod.approximate(TextWidth width, OutputContext outputContext)
Represents a flexible day period (in the afternoon, at night etc).ZonalElement.at(ZonalOffset offset)
Creates a function which can query aMoment
at the given timezone offset.ZonalElement.atUTC()
Equivalent toat(ZonalOffset.UTC)
.DayPeriod.fixed()
Equivalent tofixed(TextWidth.WIDE, OutputContext.FORMAT)
.DayPeriod.fixed(TextWidth width, OutputContext outputContext)
Represents a fixed day period (am / pm / midnight / noon).Creates a function which can query aMoment
in the given timezone.ZonalElement.inStdTimezone()
Creates a function which can query aMoment
in the system timezone.ZonalElement.inTimezone(TZID tzid)
Creates a function which can query aMoment
in the given timezone.ProportionalElement.ratio()
Defines a query which interpretes the value of this element as proportional rational number within the range between minimum and maximum. -
Uses of ChronoFunction in net.time4j.calendar
Modifier and TypeMethodDescriptionstatic ChronoFunction<Moment,Optional<HebrewTime>>
Obtains the Hebrew time dependent on given moment and location related to solar time.static ChronoFunction<Moment,HebrewTime>
Obtains the simplified Hebrew time dependent on given moment and a 24-hour-fixed scale.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.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. -
Uses of ChronoFunction in net.time4j.calendar.astro
Modifier and TypeMethodDescriptionstatic ChronoFunction<Moment,PlainTimestamp>
SolarTime.apparentAt(ZonalOffset offset)
Determines the apparent solar time of any moment at given local time zone offset.static ChronoFunction<Moment,PlainTimestamp>
SolarTime.apparentAt(ZonalOffset offset, String calculator)
Determines the apparent solar time of any moment at given local time zone offset.static ChronoFunction<Moment,PlainTimestamp>
SolarTime.onAverage(ZonalOffset offset)
Determines the mean solar time of any moment at given local time zone offset.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). -
Uses of ChronoFunction in net.time4j.engine
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.<R> R
ChronoEntity.get(ChronoFunction<? super T,R> function)
Lets given query evaluate this entity. -
Uses of ChronoFunction in net.time4j.range
Modifier and TypeMethodDescriptiondefault ChronoFunction<ChronoInterval<PlainDate>,Integer>
HolidayModel.countOfBusinessDays()
Queries the count of business days in an arbitrary date interval.default ChronoFunction<ChronoInterval<PlainDate>,Integer>
HolidayModel.countOfHolidays()
Queries the count of non-business days in an arbitrary date interval.default ChronoFunction<ChronoInterval<PlainDate>,PlainDate>
HolidayModel.firstBusinessDay()
Queries the first business day in an arbitrary date interval.default ChronoFunction<ChronoInterval<PlainDate>,PlainDate>
HolidayModel.lastBusinessDay()
Queries the last business day in an arbitrary date interval.Modifier and TypeMethodDescription<R> R
IsoInterval.get(ChronoFunction<ChronoInterval<T>,R> function)
Lets given query evaluate this interval.