Uses of Class
net.time4j.engine.TimePoint
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Support for various regional calendars.
Support for the Badi calendar.
Support for the French revolutionary calendar.
Defines the common generic schemes and interfaces of chronological
systems.
Interval support.
-
Uses of TimePoint in net.time4j
Modifier and TypeClassDescriptionclass
Represents an instant/moment on the universal timeline with reference to the timezone UTC (UTC+00:00 / Greenwich-meridian).class
Represents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules for all times.class
Represents a plain wall time without any timezone or date component as defined in ISO-8601 up to nanosecond precision.class
Represents a plain composition of calendar date and wall time as defined in ISO-8601, but without any timezone.Modifier and TypeMethodDescriptionMachineTime.addTo(T time)
<T extends TimePoint<? super CalendarUnit, T>>
longCalendarUnit.between(T start, T end)
Calculates the temporal distance between given calendar dates in this calendar unit.ClockUnit.between(T start, T end)
Calculates the temporal distance between given wall times in this unit.static <U extends IsoUnit, T extends TimePoint<U, T>>
Comparator<Duration<? extends U>>Duration.comparator(T base)
Creates aComparator
which compares durations based on their lengths.MachineTime.subtractFrom(T time)
-
Uses of TimePoint 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 12-hour-time in second precision used in Ethiopia starting in the morning at 6 AM as zero point.class
Represents the calendar used by the worldwide Jewish community, but mainly in Israel for religious purposes.class
Represents the 12-hour-time used in Jewish calendar starting in the evening at either sunset or simplified at 6 PM as zero point.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. -
Uses of TimePoint in net.time4j.calendar.bahai
Modifier and TypeClassDescriptionclass
Represents the calendar used by the Baha'i community. -
Uses of TimePoint in net.time4j.calendar.frenchrev
Modifier and TypeClassDescriptionclass
Represents the calendar used in French Revolution between 1792 and 1805. -
Uses of TimePoint in net.time4j.engine
Modifier and TypeClassDescriptionclass
A time axis is a dynamic view on a chronology where a system of registered time units is used to define a time arithmetic for any time points belonging to this time axis respective chronology.static class
TimeAxis.Builder<U,T extends TimePoint<U,T>>
Creates a builder for a new time axis respective chronology and will only be used during loading a class of typeTimePoint (T)
in a static initializer.class
Represents an immutable time point along a time axis which is directed into the future.Modifier and TypeClassDescriptionclass
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 TypeMethodDescriptionAbstractDuration.addTo(T time)
Adds this duration to given time point using the default algorithm.TimeSpan.addTo(T time)
Adds this time span to given time point.AbstractMetric.between(T start, T end)
TimeMetric.between(T start, T end)
Computes the temporal distance between two time points.static <U, T extends TimePoint<U, T>>
TTimePoint.max(T t1, T t2)
Determines the maximum of both time points.static <U, T extends TimePoint<U, T>>
TTimePoint.min(T t1, T t2)
Determines the minimum of both time points.static <U, T extends TimePoint<U, T>>
TimeAxis.Builder<U,T>TimeAxis.Builder.setUp(Class<U> unitType, Class<T> chronoType, ChronoMerger<T> merger, T min, T max)
Creates a builder for building a chronological but non-calendrical system.AbstractDuration.subtractFrom(T time)
Subtracts this duration from given time point using the default algorithm.TimeSpan.subtractFrom(T time)
Subtracts this time span from given time point. -
Uses of TimePoint in net.time4j.range
Modifier and TypeMethodDescriptionSingleUnitTimeSpan.addTo(T time)
static <T extends TimePoint<? super CalendarUnit, T>>
MonthsMonths.between(T t1, T t2)
Determines the temporal distance between given dates/time-points in gregorian months.static <T extends TimePoint<? super CalendarUnit, T>>
QuartersQuarters.between(T t1, T t2)
Determines the temporal distance between given dates/time-points in gregorian quarter years.static <T extends TimePoint<? super CalendarUnit, T>>
WeeksWeeks.between(T t1, T t2)
Determines the temporal distance between given dates/time-points in weeks.static <T extends TimePoint<? super CalendarUnit, T>>
Years<CalendarUnit>Years.between(T t1, T t2)
Determines the temporal distance between given dates/time-points in gregorian years.SingleUnitTimeSpan.subtractFrom(T time)