public sealed class WeekDayOfMonth : IMessage<WeekDayOfMonth>, IEquatable<WeekDayOfMonth>, IDeepCloneable<WeekDayOfMonth>, IBufferMessage, IMessage
Represents one week day in a month. An example is "the 4th Sunday".
Inheritance
System.Object > WeekDayOfMonthImplements
IMessage<WeekDayOfMonth>, System.IEquatable<WeekDayOfMonth>, IDeepCloneable<WeekDayOfMonth>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
WeekDayOfMonth()
public WeekDayOfMonth()
WeekDayOfMonth(WeekDayOfMonth)
public WeekDayOfMonth(WeekDayOfMonth other)
Parameter | |
---|---|
Name | Description |
other | WeekDayOfMonth |
Properties
DayOfWeek
public DayOfWeek DayOfWeek { get; set; }
Required. A day of the week.
Property Value | |
---|---|
Type | Description |
DayOfWeek |
WeekOrdinal
public int WeekOrdinal { get; set; }
Required. Week number in a month. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month.
Property Value | |
---|---|
Type | Description |
System.Int32 |