A class that represents a numeric time. Times that represent a time of day are stored as
s in this API. The time class is used to represent numeric time such as the time in hours, minutes, seconds and milliseconds of a temporal hour. More...
Public Member Functions | |
| Time (int hours, int minutes, int seconds, int milliseconds) | |
| Initializes a new instance of the Time class. | |
| Time (double millis) | |
| Initializes a new instance of the Time class. | |
| Time (int millis) | |
| Initializes a new instance of the Time class. | |
| virtual double | GetTime () |
| Gets the time. | |
| override string | ToString () |
| Returns a System.String that represents this instance. | |
Properties | |
| virtual bool | IsNegative [get, set] |
| Determines whether this instance is negative. | |
| virtual int | Hours [get, set] |
| Gets the hours. | |
| virtual int | Minutes [get, set] |
| Gets the minutes. | |
| virtual int | Seconds [get, set] |
| Gets the seconds. | |
| virtual int | Milliseconds [get, set] |
| Gets the milliseconds. | |
A class that represents a numeric time. Times that represent a time of day are stored as
s in this API. The time class is used to represent numeric time such as the time in hours, minutes, seconds and milliseconds of a temporal hour.
<author>Eliyahu Hershfeld</author>
| Zmanim.Utilities.Time.Time | ( | int | hours, | |
| int | minutes, | |||
| int | seconds, | |||
| int | milliseconds | |||
| ) |
Initializes a new instance of the Time class.
| hours | The hours. | |
| minutes | The minutes. | |
| seconds | The seconds. | |
| milliseconds | The milliseconds. |
| Zmanim.Utilities.Time.Time | ( | double | millis | ) |
Initializes a new instance of the Time class.
| millis | The millis. |
| Zmanim.Utilities.Time.Time | ( | int | millis | ) |
Initializes a new instance of the Time class.
| millis | The millis. |
| virtual double Zmanim.Utilities.Time.GetTime | ( | ) | [virtual] |
Gets the time.
| override string Zmanim.Utilities.Time.ToString | ( | ) |
Returns a System.String that represents this instance.
virtual int Zmanim.Utilities.Time.Hours [get, set] |
Gets the hours.
Returns the hour.
virtual bool Zmanim.Utilities.Time.IsNegative [get, set] |
Determines whether this instance is negative.
<c>true</c> if this instance is negative; otherwise, <c>false</c>.
virtual int Zmanim.Utilities.Time.Milliseconds [get, set] |
Gets the milliseconds.
Returns the milliseconds.
virtual int Zmanim.Utilities.Time.Minutes [get, set] |
Gets the minutes.
Returns the minutes.
virtual int Zmanim.Utilities.Time.Seconds [get, set] |
Gets the seconds.
Returns the seconds.
1.6.3