GMonth StructureGMonth StructureGMonth Structure
Represents a Gregorian month. The corresponding XML Schema type is
xs:gMonth
.
Syntax
Public NotInheritable GMonth _ Implements IEquatable(Of GMonth)
public sealed GMonth : IEquatable<GMonth>
public: value class GMonth sealed : IEquatable<GMonth>
The GMonthGMonthGMonth
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
![]() | GMonth (int)GMonth (Integer)GMonth (int) | Initializes a new instance of the GMonthGMonthGMonth structure with the specified month, but without a time zone. |
![]() | GMonth (int, TimeZone?)GMonth (Integer, Nullable(Of TimeZone))GMonth (int, Nullable<TimeZone>) | Initializes a new instance of the GMonthGMonthGMonth structure with the specified month of the year 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 (GMonth)Equals (GMonth)Equals (GMonth) | Determines whether this instance is equal to another GMonthGMonthGMonth. |
![]() ![]() | Equals (GMonth, GMonth, TimeZone)Equals (GMonth, GMonth, TimeZone)Equals (GMonth, GMonth, TimeZone) | Indicates whether a specified GMonthGMonthGMonth is equal to another specified GMonthGMonthGMonth 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:gMonth to its GMonthGMonthGMonth equivalent.
|
![]() | ToStringToStringToString | Returns the canonical lexical representation of this GMonthGMonthGMonth (Overrides ValueType.ToStringValueType.ToStringValueType::ToString) |
![]() ![]() | TryParseTryParseTryParse |
Converts a lexical representation of an xs:gMonth to its GMonthGMonthGMonth equivalent.
A return value indicates whether the conversion succeeded or failed.
|
Operators
Operator | Description | |
---|---|---|
![]() ![]() | EqualityEqualityEquality | Indicates whether a specified GMonthGMonthGMonth is equal to another specified GMonthGMonthGMonth. |
![]() ![]() | InequalityInequalityInequality | Indicates whether a specified GMonthGMonthGMonth is not equal to another specified GMonthGMonthGMonth. |
Remarks
A GMonthGMonthGMonth is a Gregorian month that recurs every year. It can be used to represent a specific month of the year. To say, for example, that Christmas falls in the month of December.