Click or drag to resize

StartOfMonth Structure

Specifies a definition of "months" that begin on a specified day of the month (e.g. 1 for calendar months).
Inheritance Hierarchy
SystemObject
  SystemValueType
    DegreeDays.TimeStartOfMonth

Namespace: DegreeDays.Time
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public struct StartOfMonth : IEquatable<StartOfMonth>, 
	IComparable<StartOfMonth>

The StartOfMonth type exposes the following members.

Constructors
 NameDescription
Public methodStartOfMonth Constructs a StartOfMonth specifying a definition of "months" that begin on the specified day of the month.
Top
Properties
 NameDescription
Public propertyDayOfMonth Gets the number between 1 and 28 (inclusive) indicating which day should be taken as the first of the month.
Top
Methods
 NameDescription
Public methodCompareTo Compares this StartOfMonth with the specified comparison StartOfMonth for chronological order.
Public methodEquals(Object) Returns true if obj is a StartOfMonth instance representing the same day in the month as this; false otherwise.
(Overrides ValueTypeEquals(Object))
Public methodEquals(StartOfMonth) Returns true if other represents the same day in the month as this; false otherwise.
Public methodStatic memberFromString Parses a string representation of a StartOfMonth in ---DD format, the format used by XML Schema's gDay type (based on ISO 8601).
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ValueTypeGetHashCode)
Public methodToString Returns a non-null, non-empty string representation of this StartOfMonth in ---DD format, the format used by XML Schema's gDay type (based on ISO 8601).
(Overrides ValueTypeToString)
Public methodStatic memberTryFromString Tries to parse a string representation of a StartOfMonth in ---DD format, the format used by XML Schema's gDay type (based on ISO 8601). Returns true if it succeeds.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(StartOfMonth, StartOfMonth) Determines whether two specified StartOfMonth instances are equal.
Public operatorStatic memberGreaterThan(StartOfMonth, StartOfMonth) Determines whether one specified StartOfMonth is later than another specified StartOfMonth.
Public operatorStatic memberGreaterThanOrEqual(StartOfMonth, StartOfMonth) Determines whether one specified StartOfMonth is the same as or later than another specified StartOfMonth.
Public operatorStatic memberInequality(StartOfMonth, StartOfMonth) Determines whether two specified StartOfMonth instances are not equal.
Public operatorStatic memberLessThan(StartOfMonth, StartOfMonth) Determines whether one specified StartOfMonth is earlier than another specified StartOfMonth.
Public operatorStatic memberLessThanOrEqual(StartOfMonth, StartOfMonth) Determines whether one specified StartOfMonth is the same as or earlier than another specified StartOfMonth.
Top
Thread Safety
Instances of this struct are immutable and safe for use from multiple threads at once.
See Also