GDay StructureGDay StructureGDay Structure
Represents a Gregorian day. The corresponding XML Schema type is
xs:gDay
.
Syntax
Public NotInheritable GDay _ Implements IEquatable(Of GDay)
public sealed GDay : IEquatable<GDay>
public: value class GDay sealed : IEquatable<GDay>
The GDayGDayGDay
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
![]() | GDay (int)GDay (Integer)GDay (int) | Initializes a new instance of the GDayGDayGDay class with the specified day of the month, but without a time zone. |
![]() | GDay (int, TimeZone?)GDay (Integer, Nullable(Of TimeZone))GDay (int, Nullable<TimeZone>) | Initializes a new instance of the GDayGDayGDay structure with the specified day of the month and optional time zone. |
Properties
Methods
Method | Description | |
---|---|---|
![]() | Equals (object)Equals (Object)Equals (object^) | Determines whether this instance is equal to a specified object. (Overrides ValueType.EqualsValueType.EqualsValueType::Equals) |
![]() | Equals (GDay)Equals (GDay)Equals (GDay) | Determines whether this instance is equal to another GDayGDayGDay. |
![]() ![]() | Equals (GDay, GDay, TimeZone)Equals (GDay, GDay, TimeZone)Equals (GDay, GDay, TimeZone) | Indicates whether a specified GDayGDayGDay is equal to another specified GDayGDayGDay given the supplied implicit time zone. |
![]() | Object.FinalizeObject.FinalizeObject::Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | GetHashCodeGetHashCodeGetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCodeValueType.GetHashCodeValueType::GetHashCode) |
![]() | Object.GetTypeObject.GetTypeObject::GetType | Gets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone | Creates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() ![]() | ParseParseParse |
Converts the lexical representation of an xs:gDay to its GDayGDayGDay equivalent.
|
![]() | ToStringToStringToString | Returns the canonical lexical representation of this GDayGDayGDay. (Overrides ValueType.ToStringValueType.ToStringValueType::ToString) |
![]() ![]() | TryParseTryParseTryParse |
Converts a lexical representation of an xs:gDay to its GDayGDayGDay equivalent.
A return value indicates whether the conversion succeeded or failed.
|
Operators
Operator | Description | |
---|---|---|
![]() ![]() | EqualityEqualityEquality | Indicates whether a specified GDayGDayGDay is equal to another specified GDayGDayGDay. |
![]() ![]() | InequalityInequalityInequality | Indicates whether a specified GDayGDayGDay is not equal to another specified GDayGDayGDay. |
Remarks
A GDayGDayGDay is a Gregorian day that recurs, specifically a day of the month such as the 5th of the month. It can be used to represent a specific day of the month. To say, for example, that I get paid on the 15th of each month.