ucar.nc2.dt
Interface TimeSeriesCollection


public interface TimeSeriesCollection

A collection of data in a time series. Underlying data can be of any type.

Author:
caron

Method Summary
 java.lang.Object getData(int timePt)
          Get the data for the nth point.
 java.lang.Class getDataClass()
          The getData() methods returns List of objects of this Class
 int getNumTimes()
          Get number of points in the series
 double getTime(int timePt)
          get the time of the nth point.
 DateUnit getTimeUnits()
          Get the units of Calendar time.
 

Method Detail

getDataClass

java.lang.Class getDataClass()
The getData() methods returns List of objects of this Class


getNumTimes

int getNumTimes()
Get number of points in the series


getTime

double getTime(int timePt)
get the time of the nth point.


getTimeUnits

DateUnit getTimeUnits()
Get the units of Calendar time. To get a Date, from a time value, call DateUnit.getStandardDate(double value). To get units as a String, call DateUnit.getUnitsString().


getData

java.lang.Object getData(int timePt)
Get the data for the nth point. @return Object of type getDataClass()