DateWithZone StructureDateWithZone StructureDateWithZone Structure
Represents a Gregorian date. The corresponding XML Schema type is
xs:date
.
Syntax
Public NotInheritable DateWithZone _ Implements IEquatable(Of DateWithZone)
public sealed DateWithZone : IEquatable<DateWithZone>
public: value class DateWithZone sealed : IEquatable<DateWithZone>
The DateWithZoneDateWithZoneDateWithZone
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
![]() | DateWithZone (long, int, int, TimeZone?)DateWithZone (Long, Integer, Integer, Nullable(Of TimeZone))DateWithZone (long, int, int, Nullable<TimeZone>) | Initializes a new instance of the DateWithZoneDateWithZoneDateWithZone structure with the specified year, month, day and time zone components. |
![]() | DateWithZone (long, TimeZone?)DateWithZone (Long, Nullable(Of TimeZone))DateWithZone (long, Nullable<TimeZone>) |
Initializes a new instance of the DateWithZoneDateWithZoneDateWithZone structure which is a
specified number of days past the epoch (0001-01-01T00:00 ) in the specified
time zone.
|
Properties
Property | Description | |
---|---|---|
![]() | DayDayDay | Gets the day component of this DateWithZoneDateWithZoneDateWithZone. |
![]() | DayOfWeekDayOfWeekDayOfWeek | Gets the day of the week. |
![]() | DayOfYearDayOfYearDayOfYear | Gets the day of the year. |
![]() | DaysPastEpochDaysPastEpochDaysPastEpoch |
Returns the number of complete days past the epoch (0001-01-01T00:00:00 ).
|
![]() | GDayGDayGDay | Gets the day component of this DateWithZoneDateWithZoneDateWithZone represented as a GDayGDayGDay. |
![]() | GMonthGMonthGMonth | Gets the month component of this DateWithZoneDateWithZoneDateWithZone represented as a GMonthGMonthGMonth. |
![]() | GMonthDayGMonthDayGMonthDay | Gets the month and day components of this DateWithZoneDateWithZoneDateWithZone represented as a GMonthDayGMonthDayGMonthDay. |
![]() | GYearGYearGYear | Gets the year component of this DateWithZoneDateWithZoneDateWithZone represented as a GYearGYearGYear. |
![]() | GYearMonthGYearMonthGYearMonth | Gets the year and month components of this DateWithZoneDateWithZoneDateWithZone as a GYearMonthGYearMonthGYearMonth. |
![]() | MonthMonthMonth | Returns the month component of this DateWithZoneDateWithZoneDateWithZone. |
![]() | TimeZoneTimeZoneTimeZone | Gets the optional time zone component of this DateWithZoneDateWithZoneDateWithZone. |
![]() ![]() | TodayTodayToday | Gets a DateWithZoneDateWithZoneDateWithZone object that is set to the current date on this computer expressed in the current time zone of this computer. |
![]() ![]() | UtcTodayUtcTodayUtcToday | Gets a DateWithZoneDateWithZoneDateWithZone object that is set to the current date on this computer expressed in Coordinated Universal Time (UTC). |
![]() | WeekInMonthWeekInMonthWeekInMonth | Gets the week in the month component of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. |
![]() | YearYearYear | Gets the year component of this DateWithZoneDateWithZoneDateWithZone. |