Represents the time in days, hours, minutes and seconds. More...
Public Member Functions | |
TimePeriod () | |
Initializes a new instance of the TimePeriod class. More... | |
TimePeriod (int timeInSeconds) | |
Initializes a new instance of the TimePeriod class. More... | |
Properties | |
short | Days [get, set] |
Gets or sets the days. More... | |
string | FormattedAsString [get, set] |
Gets or sets the time period formatted as a string. More... | |
short | Hours [get, set] |
Gets or sets the hours. More... | |
short | Minutes [get, set] |
Gets or sets the minutes. More... | |
short | Seconds [get, set] |
Gets or sets the seconds. More... | |
int | TotalMinutes [get, set] |
Gets or sets the total minutes. More... | |
int | TotalSeconds [get, set] |
Gets or sets the total seconds. More... | |
Represents the time in days, hours, minutes and seconds.
TimePeriod | ( | ) |
Initializes a new instance of the TimePeriod class.
TimePeriod | ( | int | timeInSeconds | ) |
Initializes a new instance of the TimePeriod class.
timeInSeconds | The time in seconds. |
|
getset |
Gets or sets the days.
|
getset |
Gets or sets the time period formatted as a string.
|
getset |
Gets or sets the hours.
|
getset |
Gets or sets the minutes.
|
getset |
Gets or sets the seconds.
|
getset |
Gets or sets the total minutes.
|
getset |
Gets or sets the total seconds.