Index
Source Files
Annotated Class List
Alphabetical Class List
Class Hierarchy
Graphical Class Hierarchy
|
Time only represented in UTC. More...
#include <FieldTypes.h>


Public Member Functions | |
| UtcTimeOnly () | |
| Defaults to the current time. | |
| UtcTimeOnly (const DateTime &val) | |
| UtcTimeOnly (int hour, int minute, int second, int millisecond=0) | |
| UtcTimeOnly (time_t time, int millisecond=0) | |
| UtcTimeOnly (const tm *time, int millisecond=0) | |
| void | setCurrent () |
| Set to the current time. | |
Time only represented in UTC.
Definition at line 469 of file FieldTypes.h.
| FIX::UtcTimeOnly::UtcTimeOnly | ( | ) | [inline] |
Defaults to the current time.
Definition at line 473 of file FieldTypes.h.
References setCurrent().
00474 { 00475 setCurrent(); 00476 }
| FIX::UtcTimeOnly::UtcTimeOnly | ( | const DateTime & | val | ) | [inline] |
Definition at line 478 of file FieldTypes.h.
References FIX::DateTime::clearDate().
| FIX::UtcTimeOnly::UtcTimeOnly | ( | int | hour, | |
| int | minute, | |||
| int | second, | |||
| int | millisecond = 0 | |||
| ) | [inline] |
Definition at line 484 of file FieldTypes.h.
References FIX::DateTime::setHMS().
00485 { 00486 setHMS( hour, minute, second, millisecond ); 00487 }
| FIX::UtcTimeOnly::UtcTimeOnly | ( | time_t | time, | |
| int | millisecond = 0 | |||
| ) | [inline, explicit] |
Definition at line 489 of file FieldTypes.h.
References FIX::DateTime::clearDate().
00490 : DateTime( fromUtcTimeT (time, millisecond) ) 00491 { 00492 clearDate(); 00493 }
| FIX::UtcTimeOnly::UtcTimeOnly | ( | const tm * | time, | |
| int | millisecond = 0 | |||
| ) | [inline] |
Definition at line 495 of file FieldTypes.h.
References FIX::DateTime::clearDate().
| void FIX::UtcTimeOnly::setCurrent | ( | ) | [inline] |
Set to the current time.
Definition at line 502 of file FieldTypes.h.
References FIX::DateTime::m_time, and FIX::DateTime::nowUtc().
Referenced by UtcTimeOnly().
1.6.1 written by Dimitri van Heesch,
© 1997-2001