GMonthDay StructureGMonthDay StructureGMonthDay Structure

Represents a Gregorian date that recurs. The corresponding XML Schema type is xs:gMonthDay.

Syntax

Public NotInheritable  GMonthDay _
        Implements IEquatable(Of GMonthDay)
public sealed  GMonthDay : IEquatable<GMonthDay>
public:
value class GMonthDay sealed : IEquatable<GMonthDay>
 
The GMonthDayGMonthDayGMonthDay type exposes the following members.

Constructors

 ConstructorDescription
Public methodGMonthDay (int, int)GMonthDay (Integer, Integer)GMonthDay (int, int) Initializes a new instance of the GMonthDayGMonthDayGMonthDay structure with the specified month and day, but without a time zone.
Public methodGMonthDay (int, int, TimeZone?)GMonthDay (Integer, Integer, Nullable(Of TimeZone))GMonthDay (int, int, Nullable<TimeZone>) Initializes a new instance of the GMonthDayGMonthDayGMonthDay structure with the specified month, day and optional time zone.

Top

Properties

 PropertyDescription
Public propertyDayDayDay Gets the day of the month.
Public propertyMonthMonthMonth Gets the month of the year.
Public propertyTimeZoneTimeZoneTimeZone Gets the optional time zone component of this GMonthDayGMonthDayGMonthDay.

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 (GMonthDay)Equals (GMonthDay)Equals (GMonthDay) Indicates whether this instance is equal to another GMonthDayGMonthDayGMonthDay.
Public methodstaticEquals (GMonthDay, GMonthDay, TimeZone)Equals (GMonthDay, GMonthDay, TimeZone)Equals (GMonthDay, GMonthDay, TimeZone) Indicates whether a specified GMonthDayGMonthDayGMonthDay is equal to another specified GMonthDayGMonthDayGMonthDay given the supplied implicit time zone.
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows 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)
Public methodGetHashCodeGetHashCodeGetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCodeValueType.GetHashCodeValueType::GetHashCode)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodstaticParseParseParse Converts the lexical representation of an xs:gMonthDay to its GMonthDayGMonthDayGMonthDay equivalent.
Public methodToStringToStringToString Returns the canonical lexical representation of this GMonthDayGMonthDayGMonthDay. (Overrides ValueType.ToStringValueType.ToStringValueType::ToString)
Public methodstaticTryParseTryParseTryParse Converts a lexical representation of an xs:gMonthDay to its GMonthDayGMonthDayGMonthDay equivalent. A return value indicates whether the conversion succeeded or failed.

Top

Operators

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

Top

Remarks

A GMonthDayGMonthDayGMonthDay is a Gregorian date that recurs, specifically a day of the year. To say, for example, that Christmas Day is the 25th of December.