| Package | Description |
|---|---|
| thredds.catalog.parser.jdom | |
| ucar.nc2.units |
Utility classes for scientific units and ucar.units package.
|
| Modifier and Type | Method and Description |
|---|---|
protected TimeDuration |
InvCatalogFactory10.readDuration(org.jdom.Element elem) |
| Modifier and Type | Method and Description |
|---|---|
TimeDuration |
DateRange.getDuration()
Get the duration of the interval
|
TimeDuration |
DateRange.getResolution()
Get the time resolution.
|
static TimeDuration |
TimeDuration.parseW3CDuration(java.lang.String text)
A time span as defined in the W3C XML Schema 1.0 specification:
"PnYnMnDTnHnMnS, where nY represents the number of years, nM the number of months, nD the number of days,
'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds.
|
| Modifier and Type | Method and Description |
|---|---|
DateType |
DateType.add(TimeDuration d) |
void |
DateRange.setDuration(TimeDuration duration)
Set the duration of the interval.
|
void |
DateRange.setResolution(TimeDuration resolution)
Set the time resolution.
|
DateType |
DateType.subtract(TimeDuration d) |
| Constructor and Description |
|---|
DateRange(java.util.Date start,
TimeDuration duration)
Create Date Range from a start date and duration
|
DateRange(DateType start,
DateType end,
TimeDuration duration,
TimeDuration resolution)
Encapsolates a range of dates, using DateType start/end, and/or a TimeDuration.
|
TimeDuration(TimeDuration src)
Copy constructor.
|