Click or drag to resize
TimePoint Methods

The TimePoint type exposes the following members.

Methods
  NameDescription
Public methodBack
Returns a new time point moved back with the length of a specified duration.
Public methodCompareTo
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.
Public methodDate
Returns the calendar date (YYYY-MM-DD) representing the day of this time point, in the specified local time zone.
Public methodDateTime
Returns the date and time (YYYY-MM-DDTHH:MM:SS) for this time point, observing local time zone.
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodForward
Returns a new time point moved forward with the length of a specified duration.
Public methodStatic memberFromDateTime
Converts a local or UTC DateTime object to a TimePoint.
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberNow
Returns a time point representing the current time.
Public methodOrdinalDate
Returns the ordinal date (YYYY-DDD) representing the day of this time point, in the specified local time zone.
Public methodStatic memberParse
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.
Public methodTime
Returns the time of day (HH:MM:SS) for this time point, observing local time zone.
Public methodToDateTime
Converts this TimePoint to a DateTime object in local time.
Public methodStatic memberToday
Returns a time point representing that start of today in the specified time zone.
Public methodToString
Returns an ISO 8601 representation of this time point in UTC.
(Overrides ObjectToString.)
Public methodWeekDate
Returns the week date (YYYY-Www-D) representing the day of this time point, in the specified local time zone.
Top
See Also