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
Constructor | Description | |
---|---|---|
![]() | GMonthDay (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. |
![]() | GMonthDay (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. |
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 (GMonthDay)Equals (GMonthDay)Equals (GMonthDay) | Indicates whether this instance is equal to another GMonthDayGMonthDayGMonthDay. |
![]() ![]() | Equals (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. |
![]() | 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 type 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:gMonthDay to its GMonthDayGMonthDayGMonthDay equivalent.
|
![]() | ToStringToStringToString | Returns the canonical lexical representation of this GMonthDayGMonthDayGMonthDay. (Overrides ValueType.ToStringValueType.ToStringValueType::ToString) |
![]() ![]() | TryParseTryParseTryParse |
Converts a lexical representation of an xs:gMonthDay to its GMonthDayGMonthDayGMonthDay equivalent.
A return value indicates whether the conversion succeeded or failed.
|
Operators
Operator | Description | |
---|---|---|
![]() ![]() | EqualityEqualityEquality | Indicates whether a specified GMonthDayGMonthDayGMonthDay is equal to another specified GMonthDayGMonthDayGMonthDay. |
![]() ![]() | InequalityInequalityInequality | Indicates whether a specified GMonthDayGMonthDayGMonthDay is not equal to another specified GMonthDayGMonthDayGMonthDay. |
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.