monkey_wrench.date_time._types module
- monkey_wrench.date_time._types.Minute
Type annotation and Pydantic validator to represent minutes.
alias of
Annotated[int,Ge(ge=0), FieldInfo(annotation=NoneType, required=True, metadata=[Lt(lt=60)])]
- monkey_wrench.date_time._types.Minutes
Type alias for a list of minutes.
alias of
list[Annotated[int,Ge(ge=0), FieldInfo(annotation=NoneType, required=True, metadata=[Lt(lt=60)])]]
- monkey_wrench.date_time._types.Hour
Type annotation and Pydantic validator to represent hours.
alias of
Annotated[int,Ge(ge=0), FieldInfo(annotation=NoneType, required=True, metadata=[Lt(lt=24)])]
- monkey_wrench.date_time._types.Year
Type annotation and Pydantic validator to represent years between 1950 and 2100, inclusive.
alias of
Annotated[int,Gt(gt=0), FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1950), Le(le=2100)])]
- monkey_wrench.date_time._types.Month
Type annotation and Pydantic validator to represent one-based numbering of months.
For example,
1corresponds to January.alias of
Annotated[int,Gt(gt=0), FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1), Le(le=12)])]
- monkey_wrench.date_time._types.Day
Type annotation and Pydantic validator to represent one-based numbering of days.
alias of
Annotated[int,Gt(gt=0), FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=1), Le(le=31)])]