TimePoint Class |
Namespace: Apptus.ESales.Connector.Time
public class TimePoint
The TimePoint type exposes the following members.
Name | Description | |
---|---|---|
Back |
Returns a new time point moved back with the length of a
specified duration.
| |
CompareTo |
Returns a value < 0 if this time point occurs before a
specified other time point. Returns 0 if they occur simultaneously
(that is, are identical), or otherwise returns a value > 0.
| |
Date |
Returns the calendar date (YYYY-MM-DD) representing the day of this time point,
in the specified local time zone.
| |
DateTime |
Returns the date and time (YYYY-MM-DDTHH:MM:SS) for this time point,
observing local time zone.
| |
Equals | (Overrides ObjectEquals(Object).) | |
Finalize | (Inherited from Object.) | |
Forward |
Returns a new time point moved forward with the length of a
specified duration.
| |
FromDateTime |
Converts a local or UTC DateTime object to a TimePoint.
| |
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Now |
Returns a time point representing the current time.
| |
OrdinalDate |
Returns the ordinal date (YYYY-DDD) representing the day of
this time point, in the specified local time zone.
| |
Parse |
Parses a ISO 8601 formatted date and time and returns a time point
set to the specified point in time. If the ISO date and time lacks
offset specification, then the offset at that time for the supplied
time zone is used.
| |
Time |
Returns the time of day (HH:MM:SS) for this time point,
observing local time zone.
| |
ToDateTime |
Converts this TimePoint to a DateTime object in local time.
| |
Today |
Returns a time point representing that start of today in the specified time zone.
| |
ToString |
Returns an ISO 8601 representation of this time point in UTC.
(Overrides ObjectToString.) | |
WeekDate |
Returns the week date (YYYY-Www-D) representing the day of
this time point, in the specified local time zone.
|