API: Java<br/>.
|
Public Member Functions |
| SysDate () |
| SysDate (jlong date) |
| date are milliseconds since 1970-01-01T00:00:00:000
|
| SysDate (IN(RString) s, IN(RString) format=Nil) |
| SysDate (int year, int month, int day) |
| SysDate (int year, int month, int day, int hour, int min) |
| SysDate (int year, int month, int day, int hour, int min, int sec) |
| SysDate (int sec, int usec) |
virtual | ~SysDate () |
bool | after (IN(RSysDate) when) |
bool | before (IN(RSysDate) when) |
virtual acdk::lang::Object | clone () |
virtual acdk::lang::Object | clone (sys::Allocator *alc) |
virtual int | compareTo (IN(RSysDate) other) |
virtual int | compareTo (IN(acdk::lang::RObject) o) |
virtual bool | equals (IN(acdk::lang::Object) obj) |
| Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.
|
virtual int | hashCode () |
jlong | getTime () |
| return time in milliseconds since 1970
|
virtual RString | toString () |
| return a string representation of this object Object::toString() return getName() by default
|
int | getDate () |
int | getDay () |
int | getHours () |
int | getMinutes () |
int | getMonth () |
int | getSeconds () |
int | getTimezoneOffset () |
int | getYear () |
void | setDate (int date) |
void | setDay (int day) |
void | setHours (int hours) |
void | setMinutes (int minutes) |
void | setMonth (int month) |
void | setSeconds (int seconds) |
void | setYear (int year) |
RString | toGMTString () |
RString | toLocaleString () |
RString | getTimeStamp (IN(RString) format=Nil) |
int | getUSecs () |
int | getSecs () |
RSysDate | addMilliseconds (jlong millies) |
| create a new SysDate with offset of millisends
|
jlong | diffMilliseconds (INP(RSysDate) other) |
| return the difference in milliseconds
|
Static Public Member Functions |
jlong | UTC (int year, int month, int day, int hour, int min, int sec) |
jlong | parse (IN(RString) s, IN(RString) format=Nil) |
acdk::lang::Object | create_instance () |
jlong | getTickCount () |
jlong | fileTimeToTime (const FILETIME &ft) |
void | timeToFileTime (jlong t, FILETIME &ft) |
Protected Member Functions |
void | syncFields () |
void | syncTime () |
Private Types |
typedef ::tm | timefiles |
Private Attributes |
int | _seconds |
int | _useconds |
bool | _isSyncFields |
bool | _isSyncTime |
timefiles | _fields |