AccessorsDateTimeExtension extension
Properties
-
dayOfYear
→ int
-
The day in the year
[1...366]
.
no setter
-
daysInMonth
→ int
-
The number of days in this month (
28
, 29
, 30
, or 31
).
no setter
-
daysInYear
→ int
-
The number of days in this year (
365
or 366
).
no setter
-
hour12
→ int
-
The hour in the day in 12-hour clock
[1...12]
.
no setter
-
isLeapYear
→ bool
-
Whether this is a leap year, or not.
no setter
-
quarter
→ int
-
The quarter
[1...4]
.
no setter
-
weekNumber
→ int
-
The ISO week number
[1..53]
.
no setter
-
weeksInYear
→ int
-
The number of weeks in this year (
52
or 53
).
no setter
-
weekYear
→ int
-
The ISO week year.
no setter