Uses of Interface
net.time4j.base.GregorianDate
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Abstract minimum interface of Time4J.
Interval support.
This package handles the UTC timeline (Corrected Universal Time) and
other time scales.
General timezone-API.
-
Uses of GregorianDate 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.class
Represents a plain composition of calendar date and wall time as defined in ISO-8601, but without any timezone.Modifier and TypeMethodDescriptionWeekmodel.weekend()
Defines a chronological condition if a date matches a weekend.Modifier and TypeMethodDescriptionstatic AnnualDate
AnnualDate.from(GregorianDate date)
Converts given gregorian date to an annual date.static PlainDate
PlainDate.from(GregorianDate date)
Common conversion method for proleptic gregorian dates.boolean
Month.test(GregorianDate context)
boolean
Quarter.test(GregorianDate context)
boolean
Weekday.test(GregorianDate context)
-
Uses of GregorianDate in net.time4j.base
Modifier and TypeMethodDescriptionstatic long
GregorianMath.toMJD(GregorianDate date)
Calculates the modified Julian date. -
Uses of GregorianDate in net.time4j.range
Modifier and TypeMethodDescriptionstatic CalendarMonth
CalendarMonth.from(GregorianDate date)
Converts given gregorian date to a calendar month.static CalendarQuarter
CalendarQuarter.from(GregorianDate date)
Converts given gregorian date to a quarter year.static CalendarWeek
CalendarWeek.from(GregorianDate date)
Converts given gregorian date to a calendar week.static CalendarYear
CalendarYear.from(GregorianDate date)
Converts given gregorian date to a calendar year. -
Uses of GregorianDate in net.time4j.scale
Modifier and TypeMethodDescriptionLeapSecondEvent.getDate()
Returns the date of leapsecond introduction.LeapSecondProvider.getDateOfEvent(int year, int month, int dayOfMonth)
Creates the date of a leap second event.LeapSecondProvider.getDateOfExpiration()
Determines the expiration date of underlying data.LeapSeconds.getDateOfExpiration()
Determines the expiration date of underlying data.Modifier and TypeMethodDescriptionLeapSecondProvider.getLeapSecondTable()
Yields all UTC-leapseconds with date and sign.Modifier and TypeMethodDescriptionstatic double
TimeScale.deltaT(GregorianDate date)
Estimates the delta between TT and UT1 in decimal seconds depending on given date.int
LeapSeconds.getShift(GregorianDate date)
Yields the shift in seconds suitable for the last minute of given calendar date. -
Uses of GregorianDate in net.time4j.tz
Modifier and TypeMethodDescriptiondefault Optional<ZonalTransition>
TransitionHistory.findConflictTransition(GregorianDate localDate, WallTime localTime)
Returns the conflict transition where given local timestamp falls either in a gap or in an overlap on the local timeline.TransitionHistory.getConflictTransition(GregorianDate localDate, WallTime localTime)
Returns the conflict transition where given local timestamp falls either in a gap or in an overlap on the local timeline.abstract ZonalOffset
Timezone.getOffset(GregorianDate localDate, WallTime localTime)
Calculates the offset for given local timestamp.TransitionStrategy.getOffset(GregorianDate localDate, WallTime localTime, Timezone timezone)
Calculates a suitable offset for given local timestamp.TransitionHistory.getValidOffsets(GregorianDate localDate, WallTime localTime)
Determines the suitable offsets at given local timestamp..abstract boolean
Timezone.isInvalid(GregorianDate localDate, WallTime localTime)
Evaluates if given local timestamp is invalid due to a gap on the local timeline.long
TransitionStrategy.resolve(GregorianDate localDate, WallTime localTime, Timezone timezone)
Calculates a suitable global timestamp for given local timestamp.