WeekdayFinderMoment extension
- on
Methods
-
lastFriday(
) → Moment - Returns new Moment instance of nearest Friday in the past
-
lastMonday(
) → Moment - Returns new Moment instance of nearest Monday in the past
-
lastSaturday(
) → Moment - Returns new Moment instance of nearest Saturday in the past
-
lastSunday(
) → Moment - Returns new Moment instance of nearest Sunday in the past
-
lastThursday(
) → Moment - Returns new Moment instance of nearest Thursday in the past
-
lastTuesday(
) → Moment - Returns new Moment instance of nearest Tuesday in the past
-
lastWednesday(
) → Moment - Returns new Moment instance of nearest Wednesday in the past
-
lastWeekday(
int weekday) → Moment -
Returns new Moment instance of last
n
th weekday -
nextFriday(
) → Moment - Returns new Moment instance of nearest Friday in the Future
-
nextMonday(
) → Moment - Returns new Moment instance of nearest Monday in the Future
-
nextSaturday(
) → Moment - Returns new Moment instance of nearest Saturday in the Future
-
nextSunday(
) → Moment - Returns new Moment instance of nearest Sunday in the Future
-
nextThursday(
) → Moment - Returns new Moment instance of nearest Thursday in the Future
-
nextTuesday(
) → Moment - Returns new Moment instance of nearest Tuesday in the Future
-
nextWednesday(
) → Moment - Returns new Moment instance of nearest Wednesday in the Future
-
nextWeekday(
int weekday) → Moment -
Returns new Moment instance of nearest
n
th weekday in the future