A time of day in ISO 8601 format.
Inheritance Hierarchy
Apptus.ESales.Connector.TimeTime
Namespace: Apptus.ESales.Connector.Time
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.0.0
Syntax
C#
public class Time
The Time type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Time |
Creates a time with the specified hour, minute and second. Minute and
second may be omitted for less precision.
The offset specified the number of difference from UTC in number of minutes.
The offset may be positive, negative or 0. If the offset is null, then
according to ISO 8601 should use local time.
|
Properties
Name | Description | |
---|---|---|
![]() | Hour |
The hour. Never null.
|
![]() | Minute |
The minute. May return null.
|
![]() | Offset |
The offset in minutes from UTC. May return null.
|
![]() | Second |
The second. May return null.
|
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Overrides ObjectEquals(Object).) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Overrides ObjectGetHashCode.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() ![]() | Parse |
Parses a time of day in ISO 8601 format and returns it as a Time object.
If parsing fails, this method throws an exception.
|
![]() ![]() | ParseInContext |
Parses a time of day in ISO 8601 format and returns it as a Time object.
If parsing fails, this method throws an exception.
The input may omit the larger units, which in such case will be
inherited from the start time supplied.
|
![]() | ToString |
Returns a string on the format YYYY-MM-DDTHH:MM:SSZ representing this time point.
(Overrides ObjectToString.) |
See Also