class SystemTime

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
secuint32Seconds after the minute(0-59)
minuint32Minutes after the hour (0-59)
houruint32Hours since midnight (0-23)
mdayuint32Day of the month (1-31)
monuint32Months since January (0-11)
yearuint32Years since 1900

Member functions

Function nameReturn typeInput typeDescription
sec()uint32voidReturns the current value of sec. If the sec is not set, returns 0.
set_sec()voiduint32Sets the value of sec. After calling this, sec() will return value.
clear_sec()voidvoidClears the value of sec. After calling this, sec() will return 0.
min()uint32voidReturns the current value of min. If the min is not set, returns 0.
set_min()voiduint32Sets the value of min. After calling this, min() will return value.
clear_min()voidvoidClears the value of min. After calling this, min() will return 0.
hour()uint32voidReturns the current value of hour. If the hour is not set, returns 0.
set_hour()voiduint32Sets the value of hour. After calling this, hour() will return value.
clear_hour()voidvoidClears the value of hour. After calling this, hour() will return 0.
mday()uint32voidReturns the current value of mday. If the mday is not set, returns 0.
set_mday()voiduint32Sets the value of mday. After calling this, mday() will return value.
clear_mday()voidvoidClears the value of mday. After calling this, mday() will return 0.
mon()uint32voidReturns the current value of mon. If the mon is not set, returns 0.
set_mon()voiduint32Sets the value of mon. After calling this, mon() will return value.
clear_mon()voidvoidClears the value of mon. After calling this, mon() will return 0.
year()uint32voidReturns the current value of year. If the year is not set, returns 0.
set_year()voiduint32Sets the value of year. After calling this, year() will return value.
clear_year()voidvoidClears the value of year. After calling this, year() will return 0.

Parent topic: Base (C++)