| Package | Description | 
|---|---|
| net.time4j | 
 The main package contains four basic types of ISO-8601, namely
  
PlainDate, PlainTime, PlainTimestamp
 and Moment. | 
| net.time4j.engine | 
 Defines the common generic schemes and interfaces of chronological
 systems. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Moment
Represents an instant/moment on the universal timeline with reference
 to the timezone UTC (UTC+00:00 / Greenwich-meridian). 
 | 
class  | 
PlainDate
Represents a plain calendar date in conformance to ISO-8601-standard. 
 | 
class  | 
PlainTime
Represents a plain wall time without any timezone or date component
 as defined in ISO-8601 up to nanosecond precision. 
 | 
class  | 
PlainTimestamp
Represents a plain composition of calendar date and wall time as defined
 in ISO-8601, but without any timezone. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends TimePoint<? super CalendarUnit,T>> | 
CalendarUnit.between(T start,
       T end)
Calculates the temporal distance between given calendar dates
 in this calendar unit. 
 | 
<T extends TimePoint<? super ClockUnit,T>> | 
ClockUnit.between(T start,
       T end)
Calculates the temporal distance between given wall times
 in this unit. 
 | 
static <U extends IsoUnit,T extends TimePoint<? super U,T>> | 
Duration.comparator(T base)
Creates a  
Comparator which compares durations based on
 their lengths. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
TimeAxis<U,T extends TimePoint<U,T>>
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 type
  
TimePoint (T) in a static initializer. | 
class  | 
TimePoint<U,T extends TimePoint<U,T>>
Represents an immutable time point along a time axis which is directed
 into the future. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
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 Type | Method and Description | 
|---|---|
<T extends TimePoint<? super U,T>> | 
TimeSpan.addTo(T time)
Adds this time span to given time point. 
 | 
<T extends TimePoint<? super U,T>> | 
AbstractDuration.addTo(T time)
Adds this duration to given time point using the
 default algorithm. 
 | 
<T extends TimePoint<? super U,T>> | 
TimeMetric.between(T start,
       T end)
Computes the temporal distance between two time points. 
 | 
<T extends TimePoint<? super U,T>> | 
AbstractMetric.between(T start,
       T end)  | 
static <U,T extends TimePoint<U,T>> | 
TimePoint.max(T t1,
   T t2)
Determines the maximum of both time points. 
 | 
static <U,T extends TimePoint<U,T>> | 
TimePoint.min(T t1,
   T t2)
Determines the minimum of both time points. 
 | 
static <U,T extends TimePoint<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. 
 | 
<T extends TimePoint<? super U,T>> | 
TimeSpan.subtractFrom(T time)
Subtracts this time span from given time point. 
 | 
<T extends TimePoint<? super U,T>> | 
AbstractDuration.subtractFrom(T time)
Subtracts this duration from given time point using the
 default algorithm. 
 | 
Copyright © 2014–2015. All rights reserved.