Class WeekDayOfMonth (0.1.2)

WeekDayOfMonth(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents one week day in a month. An example is "the 4th Sunday".

Attributes

NameDescription
week_ordinal int
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.
day_of_week .dayofweek.DayOfWeek
Required. A day of the week.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.