All Classes Namespaces Functions Properties Pages
Public Member Functions | Properties | List of all members
TimePeriod Class Reference

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...
 

Description

Represents the time in days, hours, minutes and seconds.

Constructor & Destructor Documentation

Initializes a new instance of the TimePeriod class.

TimePeriod ( int  timeInSeconds)

Initializes a new instance of the TimePeriod class.

Parameters
timeInSecondsThe time in seconds.

Property Documentation

short Days
getset

Gets or sets the days.

string FormattedAsString
getset

Gets or sets the time period formatted as a string.

short Hours
getset

Gets or sets the hours.

short Minutes
getset

Gets or sets the minutes.

short Seconds
getset

Gets or sets the seconds.

int TotalMinutes
getset

Gets or sets the total minutes.

int TotalSeconds
getset

Gets or sets the total seconds.