| Package | Description | 
|---|---|
| org.geotools.temporal.object | |
| org.opengis.temporal | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultDurationA data type to be used for describing length or distance in the temporal dimension. | 
| class  | DefaultIntervalLengthA data type for intervals of time which supports the expression of duration in terms of a
 specified multiple of a single unit of time. | 
| class  | DefaultPeriodDurationUses the format specified by ISO 8601 for exchanging information about the duration of a period. | 
| Modifier and Type | Method and Description | 
|---|---|
| Duration | DefaultTemporalGeometricPrimitive. distance(TemporalGeometricPrimitive other)Returns the distance from this TM_GeometricPrimitive to another TM_GeometricPrimitive, i.e. | 
| Duration | DefaultTemporalGeometricPrimitive. length()Returns the length of this TM_GeometricPrimitive | 
| Modifier and Type | Method and Description | 
|---|---|
| static Unit | Utils. getUnitFromDuration(Duration duration)This method returns the nearest Unit of a Duration. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | IntervalLengthA data type for intervals of time which supports the expression of duration in terms of a
 specified multiple of a single unit of time. | 
| interface  | PeriodDurationUses the format specified by ISO 8601 for exchanging information about the duration of a period. | 
| Modifier and Type | Method and Description | 
|---|---|
| Duration | Separation. distance(TemporalGeometricPrimitive other)Returns the distance from this temporal geometric
 primitive to another temporal geometric primitive. | 
| Duration | Separation. length()Return the duration of this temporal geometric
 primitive. | 
Copyright © 1996–2019 Geotools. All rights reserved.