OnixS C++ Tullett Prebon SURF Handler 1.6.1
API documentation
Loading...
Searching...
No Matches
Time Struct Reference

Public Member Functions

 Time ()
 Time (int hour, int minute)
std::string toString () const

Public Attributes

int hour
int minute

Detailed Description

Definition at line 62 of file FieldValue.h.

Constructor & Destructor Documentation

◆ Time() [1/2]

Time ( )

Initialize default instance.

◆ Time() [2/2]

Time ( int hour,
int minute )

Initializes a new instance to the specified year, month, and day.

Parameters
hourThe hours (0 through 23).
minuteThe minutes (0 through 59).
Exceptions
ArgumentRangeExceptionIf hour is less than 0 or greater than 23 - or - minute is less than 0 or greater than 59.

Member Function Documentation

◆ toString()

std::string toString ( ) const

Returns string representation.

Member Data Documentation

◆ hour

int hour

The hour component of the date represented by this instance.

Definition at line 75 of file FieldValue.h.

◆ minute

int minute

The minute component of the date represented by this instance.

Definition at line 78 of file FieldValue.h.