The IDateTime type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Add | |
![]() | AddDays | |
![]() | AddHours | |
![]() | AddMilliseconds | |
![]() | AddMinutes | |
![]() | AddMonths | |
![]() | AddSeconds | |
![]() | AddTicks | |
![]() | AddYears | |
![]() | AssociateWith | |
![]() | CompareTo |
Compares the current object with another object of the same type.
(Inherited from IComparable<(Of <(<'IDateTime>)>)>.) |
![]() | Copy<(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.) |
![]() | CopyFrom |
Copies all relevant fields/properties from
the target object to the current one.
(Inherited from ICopyable.) |
![]() | GetService(Type) |
Gets the service object of the specified type.
(Inherited from IServiceProvider.) |
![]() | GetService(String) | (Inherited from IServiceProvider.) |
![]() | GetService<(Of <<'(T>)>>)()()()() | (Inherited from IServiceProvider.) |
![]() | GetService<(Of <<'(T>)>>)(String) | (Inherited from IServiceProvider.) |
![]() | GetValueType | (Inherited from ICalendarDataType.) |
![]() | GreaterThan | |
![]() | GreaterThanOrEqual | |
![]() | LessThan | |
![]() | LessThanOrEqual | |
![]() | RemoveService(String) | (Inherited from IServiceProvider.) |
![]() | RemoveService(Type) | (Inherited from IServiceProvider.) |
![]() | SetService(Object) | (Inherited from IServiceProvider.) |
![]() | SetService(String, Object) | (Inherited from IServiceProvider.) |
![]() | SetValueType | (Inherited from ICalendarDataType.) |
![]() | Subtract(TimeSpan) | |
![]() | Subtract(IDateTime) | |
![]() | ToString(String) | |
![]() | ToString(String, IFormatProvider) |
Formats the value of the current instance using the specified format.
(Inherited from IFormattable.) |
![]() | ToTimeZone(String) |
Converts the date/time value to a local time
within the specified time zone.
|
![]() | ToTimeZone(ITimeZoneInfo) |
Converts the date/time value to a local time
within the specified time zone.
|
Properties
Name | Description | |
---|---|---|
![]() | AssociatedObject | (Inherited from ICalendarDataType.) |
![]() | Calendar | (Inherited from ICalendarDataType.) |
![]() | Date |
Gets the date portion of the date/time value.
|
![]() | Day |
Gets the day for this date/time value.
|
![]() | DayOfWeek |
Gets the DayOfWeek for this date/time value.
|
![]() | DayOfYear |
Gets the DayOfYear for this date/time value.
|
![]() | Encoding | (Inherited from IEncodableDataType.) |
![]() | HasDate |
Gets/sets whether or not this date/time value contains a 'date' part.
|
![]() | HasTime |
Gets/sets whether or not this date/time value contains a 'time' part.
|
![]() | Hour |
Gets the hour for this date/time value.
|
![]() | IsUniversalTime |
Gets/sets whether the Value of this date/time represents
a universal time.
|
![]() | Language | (Inherited from ICalendarDataType.) |
![]() | Local |
Converts the date/time to this computer's local date/time.
|
![]() | Millisecond |
Gets the millisecond for this date/time value.
|
![]() | Minute |
Gets the minute for this date/time value.
|
![]() | Month |
Gets the month for this date/time value.
|
![]() | Parameters | (Inherited from ICalendarParameterListContainer.) |
![]() | Second |
Gets the second for this date/time value.
|
![]() | Ticks |
Gets the ticks for this date/time value.
|
![]() | TimeOfDay |
Gets the time portion of the date/time value.
|
![]() | TimeZoneName |
Gets the time zone name this time is in, if it references a time zone.
|
![]() | TimeZoneObservance |
Retrieves the iCalTimeZoneInfo object for the time
zone set by TZID.
|
![]() | TZID |
Gets/sets the time zone ID for this date/time value.
|
![]() | UTC |
Converts the date/time to UTC (Coordinated Universal Time)
|
![]() | Value |
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.
|
![]() | Year |
Gets the year for this date/time value.
|