Uses of Interface
net.time4j.base.GregorianDate
Packages that use 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
Classes in net.time4j that implement GregorianDateModifier and TypeClassDescriptionclassRepresents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules for all times.classRepresents a plain composition of calendar date and wall time as defined in ISO-8601, but without any timezone.Methods in net.time4j that return types with arguments of type GregorianDateModifier and TypeMethodDescriptionWeekmodel.weekend()Defines a chronological condition if a date matches a weekend.Methods in net.time4j with parameters of type GregorianDateModifier and TypeMethodDescriptionstatic AnnualDateAnnualDate.from(GregorianDate date)Converts given gregorian date to an annual date.static PlainDatePlainDate.from(GregorianDate date)Common conversion method for proleptic gregorian dates.booleanMonth.test(GregorianDate context)booleanQuarter.test(GregorianDate context)booleanWeekday.test(GregorianDate context) -
Uses of GregorianDate in net.time4j.base
Methods in net.time4j.base with parameters of type GregorianDateModifier and TypeMethodDescriptionstatic longGregorianMath.toMJD(GregorianDate date)Calculates the modified Julian date. -
Uses of GregorianDate in net.time4j.range
Methods in net.time4j.range with parameters of type GregorianDateModifier and TypeMethodDescriptionstatic CalendarMonthCalendarMonth.from(GregorianDate date)Converts given gregorian date to a calendar month.static CalendarQuarterCalendarQuarter.from(GregorianDate date)Converts given gregorian date to a quarter year.static CalendarWeekCalendarWeek.from(GregorianDate date)Converts given gregorian date to a calendar week.static CalendarYearCalendarYear.from(GregorianDate date)Converts given gregorian date to a calendar year. -
Uses of GregorianDate in net.time4j.scale
Methods in net.time4j.scale that return GregorianDateModifier 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.Methods in net.time4j.scale that return types with arguments of type GregorianDateModifier and TypeMethodDescriptionLeapSecondProvider.getLeapSecondTable()Yields all UTC-leapseconds with date and sign.Methods in net.time4j.scale with parameters of type GregorianDateModifier and TypeMethodDescriptionstatic doubleTimeScale.deltaT(GregorianDate date)Estimates the delta between TT and UT1 in decimal seconds depending on given date.intLeapSeconds.getShift(GregorianDate date)Yields the shift in seconds suitable for the last minute of given calendar date. -
Uses of GregorianDate in net.time4j.tz
Methods in net.time4j.tz with parameters of type GregorianDateModifier 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 ZonalOffsetTimezone.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 booleanTimezone.isInvalid(GregorianDate localDate, WallTime localTime)Evaluates if given local timestamp is invalid due to a gap on the local timeline.longTransitionStrategy.resolve(GregorianDate localDate, WallTime localTime, Timezone timezone)Calculates a suitable global timestamp for given local timestamp.