Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::util::UTCUtility Class Reference

List of all members.

Static Public Member Functions

long durationJavaMillisToOmg (long javaMillisDuration)
long utcOmgToJava (long omgTime)
final long utcJavaToOmg (long jTime)
String getUTCDate (long jTime)

Detailed Description

Converts UTC times of different epochs

Author:
hsommer Jul 8, 2003 2:50:08 PM


Member Function Documentation

long alma::acs::util::UTCUtility::durationJavaMillisToOmg long  javaMillisDuration  )  [inline, static]
 

Converts a time duration (not time stamp!) given in milliseconds to 100ns by multiplying it with 10000.

Parameters:
javaMillisDuration 
Returns:
The duration in Corba-style 100-ns units.

String alma::acs::util::UTCUtility::getUTCDate long  jTime  )  [inline, static]
 

Converts the given java time ("short-epoch UTC", ms since Jan 01, 1970) to a stringified format: "yyyy-MM-ddTHH:mm:ss.SSS"

Returns:
given date/time in UTC format
See also:
IsoDateFormat::pattern

final long alma::acs::util::UTCUtility::utcJavaToOmg long  jTime  )  [inline, static]
 

Converts from Java time ("short-epoch UTC", ms since Jan 01, 1970) to OMG time ("long-epoch UTC", 100-ns since Oct 15, 1582).

Returns:
time in 100-nanoseconds since Oct 15, 1582 00:00:00

long alma::acs::util::UTCUtility::utcOmgToJava long  omgTime  )  [inline, static]
 

Converts from OMG time ("long-epoch UTC", 100-ns since Oct 15, 1582) to Java time ("short-epoch UTC", ms since Jan 01, 1970).

Returns:
time in milliseconds since Jan 01, 1970 00:00:00


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:36 2009 for ACS Java API by doxygen 1.3.8