DateEPExtension extension
- on
Properties
- beginningOfMonth → DateTime
-
no setter
- daysInMonth → int
-
no setter
- endOfDay → DateTime
-
no setter
- isLastDayOfMonth → bool
-
no setter
- isLeapYear → bool
-
no setter
- isToday → bool
-
no setter
- isTomorrow → bool
-
no setter
- isWeekend → bool
-
no setter
- startOfDay → DateTime
-
no setter
- sundayBefore → DateTime
-
no setter
- weekDayBaseSunday → int
-
no setter
Methods
-
addDays(
int days) → DateTime -
addMonths(
int months) → DateTime - Returns date as the first day of the next month
-
differenceInDays(
DateTime date) → int -
isBetween(
DateTime start, DateTime finish) → bool -
isSameDayAs(
DateTime date) → bool -
isSameOrAfter(
DateTime date) → bool -
isSameOrBefore(
DateTime date) → bool -
subtractDays(
int days) → DateTime
Operators
-
operator +(
Duration duration) → DateTime -
operator -(
Duration duration) → DateTime