The IDateTime type exposes the following members.
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.
|