Date#
- class rojak.core.data.Date(year, month, day)[source]#
Bases:
NamedTuple
Create new instance of Date(year, month, day)
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
day
Alias for field number 2
month
Alias for field number 1
year
Alias for field number 0