Get the hour in 24 hour time.
hour, hour in the range 0-23.
Gets the minute.
minute, minute in the range 0-59.
Gets the TimePeriod, kAM or kPM.
TimePeriod, will return kAM for hour 0-11, kPM for hour 12-23.
Gets the second.
second, second in the range 0-59.
Sets the hour in 24 hour time. Clamping will be applied for out of range values.
hour to be set in the range 0-23.
Sets the minute. Clamping will be applied for out of range values.
minute in the range 0-59.
Sets the second. Clamping will be applied for out of range values.
second, second in the range 0-59.
Get the hour in 12 hour time.
hour, hour in the range 1-12.
Get the time now
a Time object with current time
Generated using TypeDoc
Simple Time class with access to hour/minute/second/period