|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rbnb.api.Time
public final class Time
Time handling class for RBNB applications.
This class contains methods for manipulating time information within the RBNB framework. These are helper methods for users of the RBNB API and for implementors of the DataTurbine.
| Constructor Summary | |
|---|---|
Time()
|
|
| Method Summary | |
|---|---|
static double |
fromFormattedString(String timeStringI)
Converts the input string to a RBNB time (double). |
static double |
now()
Gets an RBNB time value (double) representing the current time. |
static String |
since1970(double timeI)
Converts the input RBNB time value (double) to a string based on the fact that the input represents a number of seconds since January 1st, 1970. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Time()
| Method Detail |
|---|
public static final double now()
public static final String since1970(double timeI)
The output is a string of the form:
DD-MMM-YYYY TMZ HH:MM:SS.sss
This method assumes that it should use the system's idea of time zone. The input value is assumed to be in UTC.
timeI - the time.
public static final double fromFormattedString(String timeStringI)
throws Exception
The input is a string of the form:
DD-MMM-YYYY TMZ HH:MM:SS.sss
This method assumes that it should use the system's idea of time zone. The input value is assumed to be in UTC.
timeStringI - the time string.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||