#include <c4d_file.h>
Represents a date time.
Public Member Functions | |
| void | Init () |
| Int32 | Compare (const LocalFileTime &t0, const LocalFileTime &t1) const |
| Bool | operator== (const LocalFileTime &x) const |
| Bool | operator!= (const LocalFileTime &x) const |
| Bool | operator> (const LocalFileTime &x) const |
| Bool | operator< (const LocalFileTime &x) const |
| Bool | operator>= (const LocalFileTime &x) const |
| Bool | operator<= (const LocalFileTime &x) const |
Public Attributes | |
| UInt16 | year |
| UInt16 | month |
| UInt16 | day |
| UInt16 | hour |
| UInt16 | minute |
| UInt16 | second |
| void Init | ( | ) |
Initializes the file time to a possibly invalid but deterministic state (0000-00-00 00:00:00).
| Int32 Compare | ( | const LocalFileTime & | t0, |
| const LocalFileTime & | t1 | ||
| ) | const |
Compare the two file times t0 and t1.
| [in] | t0 | The first file time to compare. |
| [in] | t1 | The second file time to compare. |
| Bool operator== | ( | const LocalFileTime & | x | ) | const |
Equality operator.
| [in] | x | The file time to compare with. |
| Bool operator!= | ( | const LocalFileTime & | x | ) | const |
Inequality operator.
| [in] | x | The file time to compare with. |
| Bool operator> | ( | const LocalFileTime & | x | ) | const |
Greater than operator.
| [in] | x | The file time to compare with. |
| Bool operator< | ( | const LocalFileTime & | x | ) | const |
Less than operator.
| [in] | x | The file time to compare with. |
| Bool operator>= | ( | const LocalFileTime & | x | ) | const |
Greater than or equal operator.
| [in] | x | The file time to compare with. |
| Bool operator<= | ( | const LocalFileTime & | x | ) | const |
Less than or equal operator.
| [in] | x | The file time to compare with. |
| UInt16 year |
Year. (Actual year, e.g. 2005 A.D. = 2005.)
| UInt16 month |
Month. (Actual month, e.g. September = 9.)
| UInt16 day |
Day. (Actual day, e.g. 30 = 30.)
| UInt16 hour |
Actual hour. (Between 0 and 23. 4 pm = 16.)
| UInt16 minute |
Actual minute. (Between 0 and 59.)
| UInt16 second |
Actual second. (Between 0 and 59.)