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

 ConstructorDescription
Public methodGDay (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.
Public methodGDay (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.

Top

Properties

 PropertyDescription
Public propertyDayDayDay Gets the day of the month.
Public propertyTimeZoneTimeZoneTimeZone Gets the optional time zone component of this GDayGDayGDay.

Top

Methods

 MethodDescription
Public methodEquals (object)Equals (Object)Equals (object^) Determines whether this instance is equal to a specified object. (Overrides ValueType.EqualsValueType.EqualsValueType::Equals)
Public methodEquals (GDay)Equals (GDay)Equals (GDay) Determines whether this instance is equal to another GDayGDayGDay.
Public methodstaticEquals (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.
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetHashCodeGetHashCodeGetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCodeValueType.GetHashCodeValueType::GetHashCode)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodstaticParseParseParse Converts the lexical representation of an xs:gDay to its GDayGDayGDay equivalent.
Public methodToStringToStringToString Returns the canonical lexical representation of this GDayGDayGDay. (Overrides ValueType.ToStringValueType.ToStringValueType::ToString)
Public methodstaticTryParseTryParseTryParse Converts a lexical representation of an xs:gDay to its GDayGDayGDay equivalent. A return value indicates whether the conversion succeeded or failed.

Top

Operators

 OperatorDescription
Public operatorstaticEqualityEqualityEquality Indicates whether a specified GDayGDayGDay is equal to another specified GDayGDayGDay.
Public operatorstaticInequalityInequalityInequality Indicates whether a specified GDayGDayGDay is not equal to another specified GDayGDayGDay.

Top

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.