#include <XspfDateTime.h>
List of all members.
Detailed Description
Represents a "dateTime" timestamp without fractional second component.
Definition at line 62 of file XspfDateTime.h.
Constructor & Destructor Documentation
XspfDateTime |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
day, |
|
|
int |
hour, |
|
|
int |
minutes, |
|
|
int |
seconds, |
|
|
int |
distHours, |
|
|
int |
distMinutes |
|
) |
| |
Creates a new dateTime timestamp. The given parameters must be valid and are not checked for validity inside.
- Parameters:
-
year | Year [-9999..+9999] but not zero |
month | Month [1..12] |
day | Day [1..31] |
hour | Hour [0..23] |
minutes | Minutes [0..59] |
seconds | Seconds [0..59] |
distHours | Time shift hours [-14..+14] |
distMinutes | Time shift minutes [-59..+59] |
Creates a new dateTime timestamp.
Copy constructor.
- Parameters:
-
source | Source to copy from |
Destroys this dateTime timestamp.
Member Function Documentation
Clones this dateTime object.
`
- Returns:
- Cloned object
Extracts a dateTime from text
.
- Parameters:
-
text | Text |
output | dateTime storage destination |
- Returns:
- Valid dateTime flag
- Since:
- 1.0.0rc1
Returns the day.
- Returns:
- Day
Returns the time shift hours.
- Returns:
- Time shift hours
Returns the time shift minutes.
- Returns:
- Time shift minutes
Returns the hour.
- Returns:
- Hour
Returns the minutes.
- Returns:
- Minutes
Returns the month.
- Returns:
- Month
Returns the seconds.
- Returns:
- Seconds
Returns the year.
- Returns:
- Year
Assignment operator.
- Parameters:
-
source | Source to copy from |
Sets the day.
- Parameters:
-
Sets the time shift hours.
- Parameters:
-
distHours | Time shift hours |
Sets the time shift minutes.
- Parameters:
-
distMinutes | Time shift minutes |
Sets the hour.
- Parameters:
-
Sets the minutes.
- Parameters:
-
Sets the month.
- Parameters:
-
Sets the seconds.
- Parameters:
-
Sets the year.
- Parameters:
-
The documentation for this class was generated from the following file: