Start |
The StartOfYear type exposes the following members.
| Name | Description | |
|---|---|---|
| StartOfYear | Constructs a StartOfYear specifying a definition of "years" that begin on the specified first day of the year. |
| Name | Description | |
|---|---|---|
| DayOfMonth | Gets the number between 1 and the number of days in MonthOfYear (inclusive) indicating which day in MonthOfYear is the first day of the "year" defined by this StartOfYear. | |
| MonthOfYear | Gets the number between 1 (January) and 12 (December) indicating the month of the calendar year in which the "year" defined by this StartOfYear starts. |
| Name | Description | |
|---|---|---|
| CompareTo | Compares this StartOfYear with the specified comparison StartOfYear for chronological order. | |
| Equals(Object) |
Returns true if obj is a StartOfYear
instance representing the same day of the year as this;
false otherwise.
(Overrides ValueTypeEquals(Object)) | |
| Equals(StartOfYear) | Returns true if other represents the same day of the year as this; false otherwise. | |
| FromString | Parses a string representation of a StartOfYear in --MM-DD format, the format used by XML Schema's gMonthDay type (based on ISO 8601). | |
| GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ValueTypeGetHashCode) | |
| ToString |
Returns a non-null, non-empty string representation of this object in
--MM-DD format, the format used by XML Schema's gMonthDay
type (based on ISO 8601).
(Overrides ValueTypeToString) | |
| TryFromString | Tries to parse a string representation of a StartOfYear in --MM-DD format, the format used by XML Schema's gMonthDay type (based on ISO 8601). Returns true if it succeeds. |
| Name | Description | |
|---|---|---|
| Equality(StartOfYear, StartOfYear) | Determines whether two specified StartOfYear instances are equal. | |
| GreaterThan(StartOfYear, StartOfYear) | Determines whether one specified StartOfYear is later than another specified StartOfYear. | |
| GreaterThanOrEqual(StartOfYear, StartOfYear) | Determines whether one specified StartOfYear is the same as or later than another specified StartOfYear. | |
| Inequality(StartOfYear, StartOfYear) | Determines whether two specified StartOfYear instances are not equal. | |
| LessThan(StartOfYear, StartOfYear) | Determines whether one specified StartOfYear is earlier than another specified StartOfYear. | |
| LessThanOrEqual(StartOfYear, StartOfYear) | Determines whether one specified StartOfYear is the same as or earlier than another specified StartOfYear. |