Difference between revisions of "Date and Time Tips"
(→DateTimeStamp Public Functions) |
|||
Line 7: | Line 7: | ||
=DateTimeStamp Public Functions= | =DateTimeStamp Public Functions= | ||
[[bool operator == ( const DateTime &that ) const]] | [[bool operator == ( const DateTime &that ) const]] | ||
+ | |||
[[bool operator != ( const DateTime &that ) const]] | [[bool operator != ( const DateTime &that ) const]] | ||
+ | |||
[[bool IsLeapYear () const]] | [[bool IsLeapYear () const]] | ||
+ | |||
[[short DayOfWeek () const]] | [[short DayOfWeek () const]] | ||
+ | |||
[[short DayOfYear () const]] | [[short DayOfYear () const]] | ||
+ | |||
[[short WeekOfYear () const]] | [[short WeekOfYear () const]] | ||
+ | |||
[[void Now ()]] | [[void Now ()]] | ||
+ | |||
[[void SetDate ( const DateTime &datetime )]] | [[void SetDate ( const DateTime &datetime )]] | ||
+ | |||
[[errcode SetNormalizedDate ( short month, short day, short year )]] | [[errcode SetNormalizedDate ( short month, short day, short year )]] | ||
+ | |||
[[errcode SetNormalizedDate ( const FixPt &year, const FixPt &month, const FixPt &day )]] | [[errcode SetNormalizedDate ( const FixPt &year, const FixPt &month, const FixPt &day )]] | ||
+ | |||
[[void SetDaysSinceEpoch ( longlong days )]] | [[void SetDaysSinceEpoch ( longlong days )]] | ||
+ | |||
[[void SetTime ( const DateTime &datetime )]] | [[void SetTime ( const DateTime &datetime )]] | ||
+ | |||
[[errcode SetNormalizedTime ( longlong hour, short minute, short sec, long int usec = 0 )]] | [[errcode SetNormalizedTime ( longlong hour, short minute, short sec, long int usec = 0 )]] | ||
+ | |||
[[errcode SetNormalizedTime ( const FixPt &hour, const FixPt &minute, const FixPt &sec )]] | [[errcode SetNormalizedTime ( const FixPt &hour, const FixPt &minute, const FixPt &sec )]] | ||
+ | |||
[[void SetSecsSinceMidnight ( const FixPt &secs )]] | [[void SetSecsSinceMidnight ( const FixPt &secs )]] | ||
+ | |||
[[void SetSecondsSinceEpoch ( const FixPt &seconds )]] | [[void SetSecondsSinceEpoch ( const FixPt &seconds )]] | ||
+ | |||
[[short GetYear () const]] | [[short GetYear () const]] | ||
+ | |||
[[short GetMonth () const]] | [[short GetMonth () const]] | ||
+ | |||
[[short GetDay () const]] | [[short GetDay () const]] | ||
+ | |||
[[long int GetDaysSinceEpoch () const]] | [[long int GetDaysSinceEpoch () const]] | ||
+ | |||
[[long int GetHour () const]] | [[long int GetHour () const]] | ||
+ | |||
[[short GetMinute () const]] | [[short GetMinute () const]] | ||
+ | |||
[[short GetSec () const]] | [[short GetSec () const]] | ||
+ | |||
[[long int GetUSec () const]] | [[long int GetUSec () const]] | ||
+ | |||
[[void GetSeconds ( FixPt &results ) const]] | [[void GetSeconds ( FixPt &results ) const]] | ||
+ | |||
[[void GetSecsSinceMidnight ( FixPt &results ) const]] | [[void GetSecsSinceMidnight ( FixPt &results ) const]] | ||
+ | |||
[[void GetSecondsSinceEpoch ( FixPt &results ) const]] | [[void GetSecondsSinceEpoch ( FixPt &results ) const]] | ||
+ | |||
[[void operator delete ( void *obj )]] | [[void operator delete ( void *obj )]] | ||
− | |||
=Date Public Functions= | =Date Public Functions= |
Revision as of 23:37, 11 July 2007
This page is about editing and working with Dates and Times passed from FileMaker to your plugin.
DateTimeStamp Public Functions
bool operator == ( const DateTime &that ) const
bool operator != ( const DateTime &that ) const
void SetDate ( const DateTime &datetime )
errcode SetNormalizedDate ( short month, short day, short year )
errcode SetNormalizedDate ( const FixPt &year, const FixPt &month, const FixPt &day )
void SetDaysSinceEpoch ( longlong days )
void SetTime ( const DateTime &datetime )
errcode SetNormalizedTime ( longlong hour, short minute, short sec, long int usec = 0 )
errcode SetNormalizedTime ( const FixPt &hour, const FixPt &minute, const FixPt &sec )
void SetSecsSinceMidnight ( const FixPt &secs )
void SetSecondsSinceEpoch ( const FixPt &seconds )
long int GetDaysSinceEpoch () const
void GetSeconds ( FixPt &results ) const
void GetSecsSinceMidnight ( FixPt &results ) const
void GetSecondsSinceEpoch ( FixPt &results ) const
void operator delete ( void *obj )