Time Utilities


Compounds

class  ssfTime
 Simulation Time object. More...


Defines

#define TIME_PRECISION   15

Typedefs

typedef double ssfSeconds
typedef double ssfJulianDate

Functions

ssfJulianDate JulianDate (const ssfSeconds &_time)
 Calculates the Julian Date given a time in seconds since the system epoch.


Define Documentation

#define TIME_PRECISION   15
 

Definition at line 40 of file Time.h.


Typedef Documentation

typedef double O_SESSAME::ssfSeconds
 

Definition at line 37 of file Time.h.

typedef double O_SESSAME::ssfJulianDate
 

Definition at line 38 of file Time.h.


Function Documentation

ssfJulianDate JulianDate const ssfSeconds _time  )  [related, inherited]
 

Calculates the Julian Date given a time in seconds since the system epoch.

This function takes in seconds since epoch and returns the datetime in Julian Date format. Since the input time is seconds since system epoch (Jan 1, 1970 at midnight for linux), the JulianDate function uses the system gmtime() function to convert to a DateTime struct.

Warning:
be careful of differences in system epoch times (Unix vs. Windows).
Parameters:
_time The time to be converted in seconds since the system epoch time.
Returns:
this function returns the conversion from seconds since system epoch time to Julian Date.

Definition at line 30 of file Time.cpp.


Generated on Wed Aug 6 12:59:11 2003 for Open-Sessame Framework by doxygen1.3