JX Application Framework
|
Functions | |
void | JWait (const double delta) |
JString | JGetTimeStamp () |
JString | JConvertToTimeStamp (const time_t t) |
JString | JPrintTimeInterval (const JUInt delta) |
void | JCheckExpirationDate (const time_t expireTime, const JUtf8Byte *map[], const JSize size) |
long | JGetTimezoneOffset () |
Warns user if time is within two weeks of expiration. Calls exit() if time is beyond expiration.
map must define: date, name, version, url, email date must be first!
The application string data must define WarnExpire::jTime and Expired::jTime, because these messages should be customized.
JString JConvertToTimeStamp | ( | const time_t | t | ) |
Returns the time stamp from ctime (minus the line feed) as a JString.
long JGetTimezoneOffset | ( | ) |
Returns the offset to convert GMT to local time.
Converts the given time interval in seconds into a string with a reasonable precision.
void JWait | ( | const double | delta | ) |