The IDateTime type exposes the following members.

Methods

  NameDescription
Public methodAdd
Public methodAddDays
Public methodAddHours
Public methodAddMilliseconds
Public methodAddMinutes
Public methodAddMonths
Public methodAddSeconds
Public methodAddTicks
Public methodAddYears
Public methodAssociateWith
Public methodCompareTo
Compares the current object with another object of the same type.
(Inherited from IComparable<(Of <(<'IDateTime>)>)>.)
Public methodCopy<(Of <<'(T>)>>)
Returns a copy of the current object, including all relevent fields/properties, resulting in a semantically equivalent copy of the object. (which consequently passes an object.Equals(obj1, obj2) test).
(Inherited from ICopyable.)
Public methodCopyFrom
Copies all relevant fields/properties from the target object to the current one.
(Inherited from ICopyable.)
Public methodGetService(Type)
Gets the service object of the specified type.
(Inherited from IServiceProvider.)
Public methodGetService(String) (Inherited from IServiceProvider.)
Public methodGetService<(Of <<'(T>)>>)()()()() (Inherited from IServiceProvider.)
Public methodGetService<(Of <<'(T>)>>)(String) (Inherited from IServiceProvider.)
Public methodGetValueType (Inherited from ICalendarDataType.)
Public methodGreaterThan
Public methodGreaterThanOrEqual
Public methodLessThan
Public methodLessThanOrEqual
Public methodRemoveService(String) (Inherited from IServiceProvider.)
Public methodRemoveService(Type) (Inherited from IServiceProvider.)
Public methodSetService(Object) (Inherited from IServiceProvider.)
Public methodSetService(String, Object) (Inherited from IServiceProvider.)
Public methodSetValueType (Inherited from ICalendarDataType.)
Public methodSubtract(TimeSpan)
Public methodSubtract(IDateTime)
Public methodToString(String)
Public methodToString(String, IFormatProvider)
Formats the value of the current instance using the specified format.
(Inherited from IFormattable.)
Public methodToTimeZone(String)
Converts the date/time value to a local time within the specified time zone.
Public methodToTimeZone(ITimeZoneInfo)
Converts the date/time value to a local time within the specified time zone.

Properties

  NameDescription
Public propertyAssociatedObject (Inherited from ICalendarDataType.)
Public propertyCalendar (Inherited from ICalendarDataType.)
Public propertyDate
Gets the date portion of the date/time value.
Public propertyDay
Gets the day for this date/time value.
Public propertyDayOfWeek
Gets the DayOfWeek for this date/time value.
Public propertyDayOfYear
Gets the DayOfYear for this date/time value.
Public propertyEncoding (Inherited from IEncodableDataType.)
Public propertyHasDate
Gets/sets whether or not this date/time value contains a 'date' part.
Public propertyHasTime
Gets/sets whether or not this date/time value contains a 'time' part.
Public propertyHour
Gets the hour for this date/time value.
Public propertyIsUniversalTime
Gets/sets whether the Value of this date/time represents a universal time.
Public propertyLanguage (Inherited from ICalendarDataType.)
Public propertyLocal
Converts the date/time to this computer's local date/time.
Public propertyMillisecond
Gets the millisecond for this date/time value.
Public propertyMinute
Gets the minute for this date/time value.
Public propertyMonth
Gets the month for this date/time value.
Public propertyParameters (Inherited from ICalendarParameterListContainer.)
Public propertySecond
Gets the second for this date/time value.
Public propertyTicks
Gets the ticks for this date/time value.
Public propertyTimeOfDay
Gets the time portion of the date/time value.
Public propertyTimeZoneName
Gets the time zone name this time is in, if it references a time zone.
Public propertyTimeZoneObservance
Retrieves the iCalTimeZoneInfo object for the time zone set by TZID.
Public propertyTZID
Gets/sets the time zone ID for this date/time value.
Public propertyUTC
Converts the date/time to UTC (Coordinated Universal Time)
Public propertyValue
Gets/sets the underlying DateTime value stored. This should always use DateTimeKind.Utc, regardless of its actual representation. Use IsUniversalTime along with the TZID to control how this date/time is handled.
Public propertyYear
Gets the year for this date/time value.

See Also