|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TimeDuration | |
---|---|
ucar.nc2.units | Utility classes for scientific units and ucar.units package. |
Uses of TimeDuration in ucar.nc2.units |
---|
Methods in ucar.nc2.units that return TimeDuration | |
---|---|
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. |
Methods in ucar.nc2.units with parameters of type TimeDuration | |
---|---|
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)
|
Constructors in ucar.nc2.units with parameters of type TimeDuration | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |