fbxDateTime Class Reference
#include <kfbxtypes.h>
List of all members.
Detailed Description
FBX SDK date&time class.
Property used to store date and time information; not related to
a KTime, which is used for
film-related operations. The date and time property does not make
any provisions for UTC, GMT or local zones; this is entirely up to
client code to know what they are dealing with.
Definition at line 374 of file kfbxtypes.h.
 | 
 
Constructors
 | 
| 
  | 
fbxDateTime
() | 
|   | 
Default constructor. Set attributes to 0.
  | 
| 
  | 
fbxDateTime (int
pDay, int pMonth, int pYear, int pHour, int pMin, int pSec, int
pMillisecond=0) | 
|   | 
Constructor. 
  | 
 
Boolean operation
 | 
| 
bool  | 
operator==
(const fbxDateTime &pRHS)
const | 
|   | 
Equivalence operator. 
  | 
| 
bool  | 
operator!=
(const fbxDateTime &pRHS)
const | 
|   | 
Non-equivalence operator. 
  | 
 
Access
 | 
| 
void  | 
setDate (int
pDay, int pMonth, int pYear) | 
|   | 
Set the date. 
  | 
| 
void  | 
setTime (int
pHour, int pMin, int pSec, int pMillisecond=0) | 
|   | 
Set the time. 
  | 
 
Operation with string
 | 
| 
KString  | 
toString ()
const | 
|   | 
Get the string format from this
date&time. 
  | 
| 
bool  | 
fromString
(const char *) | 
|   | 
Get date&time from the string format.
  | 
 
Public Member Functions
 | 
| 
void  | 
Clear () | 
|   | 
Set the attributes to 0. 
  | 
| 
bool  | 
isValid ()
const | 
|   | 
Validates each field is within a normal
range (month is 1-12, etc). 
  | 
 
Static Public Member Functions
 | 
| 
static fbxDateTime  | 
currentDateTimeGMT
() | 
|   | 
Get date&time from current date&time
of GMT. 
  | 
Constructor & Destructor Documentation
Default constructor. Set attributes to 0.
Definition at line 393 of file kfbxtypes.h.
 
 
| fbxDateTime | 
( | 
int  | 
pDay, | 
 | 
 | 
int  | 
pMonth, | 
 | 
 | 
int  | 
pYear, | 
 | 
 | 
int  | 
pHour, | 
 | 
 | 
int  | 
pMin, | 
 | 
 | 
int  | 
pSec, | 
 | 
 | 
int  | 
pMillisecond = 0 | 
  | 
 | 
) | 
 | 
 | 
 | 
 
Constructor.
- Parameters:
 
- 
 | 
pDay  | 
Day | 
 | 
pMonth  | 
Month | 
 | 
pYear  | 
Year | 
 | 
pHour  | 
Hour | 
 | 
pMin  | 
Minute | 
 | 
pSec  | 
Second | 
 | 
pMillisecond  | 
Millisecond | 
 
 
 
Member Function Documentation
Equivalence operator.
- Parameters:
 
- 
 | 
pRHS  | 
The date&time to be compared with this date&time. | 
 
- Returns:
 
True, if the two date&time are equal,
false otherwise. 
 
 
| bool operator!= | 
( | 
const fbxDateTime &  | 
pRHS | 
 )  | 
const [inline] | 
 
Non-equivalence operator.
- Parameters:
 
- 
 | 
pRHS  | 
The date&time to be compared with this date&time. | 
 
- Returns:
 
True, if the two date&time are not equal,
false otherwise. 
Definition at line 423 of file kfbxtypes.h.
 
 
Validates each field is within a normal range (month is 1-12,
etc).
- Returns:
 
True, if each field is within a normal range,
false otherwise. 
 
 
| void setDate | 
( | 
int  | 
pDay, | 
 | 
 | 
int  | 
pMonth, | 
 | 
 | 
int  | 
pYear | 
  | 
 | 
) | 
 | 
 | 
 | 
 
Set the date.
- Parameters:
 
- 
 | 
pDay  | 
Day to be set. | 
 | 
pMonth  | 
Month to be set. | 
 | 
pYear  | 
Year to be set. | 
 
 
 
| void setTime | 
( | 
int  | 
pHour, | 
 | 
 | 
int  | 
pMin, | 
 | 
 | 
int  | 
pSec, | 
 | 
 | 
int  | 
pMillisecond = 0 | 
  | 
 | 
) | 
 | 
 | 
 | 
 
Set the time.
- Parameters:
 
- 
 | 
pHour  | 
Hour to be set. | 
 | 
pMin  | 
Minute to be set. | 
 | 
pSec  | 
Second to be set. | 
 | 
pMillisecond  | 
Millisecond to be set. | 
 
 
 
Get the string format from this date&time.
- Returns:
 
- The string format got from this date&time.
 
 
 
| bool fromString | 
( | 
const char *  | 
 | 
 )  | 
 | 
 
Get date&time from the string format.
- Returns:
 
True, if get date&time from the string format
successfully, false otherwise. 
 
 
Get date&time from current date&time of GMT.
- Returns:
 
- The date&time equal to current date&time of GMT.
 
 
 
 
fbxDateTime fbxDateTime fbxDateTime
fbxDateTime fbxDateTime fbxDateTime fbxDateTime fbxDateTime
fbxDateTime fbxDateTime
fbxDateTime fbxDateTime fbxDateTime
fbxDateTime fbxDateTime fbxDateTime fbxDateTime fbxDateTime
fbxDateTime fbxDateTime