Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
Top
Top
[This is preliminary documentation and is subject to change.]
This class represents a 24 hour time format used by the
Schedule class.
Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The SimpleTime type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SimpleTime(Int32) |
Initializes a new SimpleTime.
| |
SimpleTime(Int32, Int32) |
Initializes a new SimpleTime.
|
Properties
Name | Description | |
---|---|---|
Hours |
Gets the hour represented by this instance.
| |
Minutes |
Gets the minute represented by this instance.
| |
Now |
Gets a SimpleTime that represents the current time of the day.
|
Methods
Name | Description | |
---|---|---|
AddHours | ||
AddMinutes | ||
CompareTo(Object) |
Compares the current SimpleTime with another SimpleTime.
| |
CompareTo(SimpleTime) |
Compares the current SimpleTime with another SimpleTime.
| |
Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
Equals(SimpleTime) |
Indicates whether this instance and another SimpleTime are equal.
| |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | (Inherited from Object.) | |
ToString |
Returns the string representation (in the 24 hour format) of this instance using the current culture info.
(Overrides ValueTypeToString.) | |
ToString(CultureInfo) |
Returns the string representation (in the 24 hour format) of this instance using the specified culture info.
|
Operators
Name | Description | |
---|---|---|
Equality |
Indicates whether two SimpleTime instances are equal.
| |
(SimpleTime to TimeSpan) |
Performs an explicit conversion from SimpleTime to TimeSpan.
| |
GreaterThan |
Indicates whether a SimpleTime is greater than another see SimpleTime.
| |
GreaterThanOrEqual |
Indicates whether a SimpleTime is greater than or equal to another see SimpleTime.
| |
Inequality |
Indicates whether two SimpleTime instances are unequal.
| |
LessThan |
Indicates whether a SimpleTime is less than another see SimpleTime.
| |
LessThanOrEqual |
Indicates whether a SimpleTime is less than or equal to another see SimpleTime.
|
Fields
Name | Description | |
---|---|---|
MaxHour |
Indicates the maximum value allowed for the hour part.
This constant has the value 23.
| |
MaxMinute |
Indicates the maximum value allowed for the minute part
This constant has the value 59.
| |
MaxValue |
Defines the maximum allowed value for this type (23:59)
| |
MinHour |
Indicates the minimum value allowed for the hour part
This constant has the value 0.
| |
MinMinute |
Indicates the minimum value allowed for the minute part
This constant has the value 0.
| |
MinValue |
Defines the minimum allowed value for a SimpleTime.
This value is equal to Zero.
| |
Zero |
Defines a SimpleTime with a zero value (00:00) . This value is equal to MinValue.
|
See Also