Click or drag to resize

TimeOfDay Class

Hours and Minutes of day. Not linked to any date or time-zone.
Inheritance Hierarchy
SystemObject
  Koopman.CheckPoint.CommonTimeOfDay

Namespace:  Koopman.CheckPoint.Common
Assembly:  CheckPoint.NET (in CheckPoint.NET.dll) Version: 0.5.1
Syntax
C#
public class TimeOfDay : IEquatable<TimeOfDay>, 
	IComparable<TimeOfDay>
Request Example View Source

The TimeOfDay type exposes the following members.

Constructors
  NameDescription
Public methodTimeOfDay(Int32)
Initializes a new instance of the TimeOfDay class.
Public methodTimeOfDay(String)
Initializes a new instance of the TimeOfDay class.
Public methodTimeOfDay(Int32, Int32)
Initializes a new instance of the TimeOfDay class.
Top
Properties
  NameDescription
Public propertyHour
Gets the hour.
Public propertyMinute
Gets the minute.
Public propertyMinutes
Gets the number of minutes past midnight.
Top
Methods
  NameDescription
Public methodCompareTo
Compares to another TimeOfDay.
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(TimeOfDay)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance in format HH:mm.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition(TimeOfDay, TimeOfDay)
Implements the operator +.
Public operatorStatic memberAddition(TimeOfDay, Int16)
Implements the operator +.
Public operatorStatic memberAddition(TimeOfDay, Int32)
Implements the operator +.
Public operatorStatic memberDecrement
Implements the operator --.
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberGreaterThan
Implements the operator >.
Public operatorStatic memberGreaterThanOrEqual
Implements the operator >=.
Public operatorStatic member(Int32 to TimeOfDay)
Performs an implicit conversion from Int32 to TimeOfDay.
Public operatorStatic member(TimeOfDay to Int16)
Performs an implicit conversion from TimeOfDay to Int16.
Public operatorStatic memberIncrement
Implements the operator ++.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberLessThan
Implements the operator <.
Public operatorStatic memberLessThanOrEqual
Implements the operator <=.
Public operatorStatic memberSubtraction(TimeOfDay, TimeOfDay)
Implements the operator -.
Public operatorStatic memberSubtraction(TimeOfDay, Int16)
Implements the operator -.
Public operatorStatic memberSubtraction(TimeOfDay, Int32)
Implements the operator -.
Top
See Also