Zmanim.Utilities.Time Class Reference

A class that represents a numeric time. Times that represent a time of day are stored as

See also:
DateTime

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

List of all members.

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.

Detailed Description

A class that represents a numeric time. Times that represent a time of day are stored as

See also:
DateTime

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>


Constructor & Destructor Documentation

Zmanim.Utilities.Time.Time ( int  hours,
int  minutes,
int  seconds,
int  milliseconds 
)

Initializes a new instance of the Time class.

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

Parameters:
millis The millis.
Zmanim.Utilities.Time.Time ( int  millis  ) 

Initializes a new instance of the Time class.

Parameters:
millis The millis.

Member Function Documentation

virtual double Zmanim.Utilities.Time.GetTime (  )  [virtual]

Gets the time.

Returns:
override string Zmanim.Utilities.Time.ToString (  ) 

Returns a System.String that represents this instance.

Returns:
A System.String that represents this instance.

Property Documentation

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.


The documentation for this class was generated from the following file:
Generated on Mon May 31 12:33:43 2010 for Zmanim Project by  doxygen 1.6.3