![]() |
Time only represented in local time. More...
#include <FieldTypes.h>
Public Member Functions | |
LocalTimeOnly () | |
Defaults to the current time. | |
LocalTimeOnly (const DateTime &val) | |
LocalTimeOnly (int hour, int minute, int second, int millisecond=0) | |
LocalTimeOnly (time_t time, int millisecond=0) | |
LocalTimeOnly (const tm *time, int millisecond=0) | |
void | setCurrent () |
Set to the current time. |
Time only represented in local time.
Definition at line 510 of file FieldTypes.h.
FIX::LocalTimeOnly::LocalTimeOnly | ( | ) | [inline] |
Defaults to the current time.
Definition at line 514 of file FieldTypes.h.
References setCurrent().
00515 { 00516 setCurrent(); 00517 }
FIX::LocalTimeOnly::LocalTimeOnly | ( | const DateTime & | val | ) | [inline] |
Definition at line 519 of file FieldTypes.h.
References FIX::DateTime::clearDate().
FIX::LocalTimeOnly::LocalTimeOnly | ( | int | hour, | |
int | minute, | |||
int | second, | |||
int | millisecond = 0 | |||
) | [inline] |
Definition at line 525 of file FieldTypes.h.
References FIX::DateTime::setHMS().
00526 { 00527 setHMS( hour, minute, second, millisecond ); 00528 }
FIX::LocalTimeOnly::LocalTimeOnly | ( | time_t | time, | |
int | millisecond = 0 | |||
) | [inline, explicit] |
Definition at line 530 of file FieldTypes.h.
References FIX::DateTime::clearDate().
00531 : DateTime( fromLocalTimeT (time, millisecond) ) 00532 { 00533 clearDate(); 00534 }
FIX::LocalTimeOnly::LocalTimeOnly | ( | const tm * | time, | |
int | millisecond = 0 | |||
) | [inline] |
Definition at line 536 of file FieldTypes.h.
References FIX::DateTime::clearDate().
void FIX::LocalTimeOnly::setCurrent | ( | ) | [inline] |
Set to the current time.
Definition at line 543 of file FieldTypes.h.
References FIX::DateTime::m_time, and FIX::DateTime::nowLocal().
Referenced by LocalTimeOnly().