WeekdayFinder extension

on

Methods

lastFriday() DateTime
Returns new DateTime instance of nearest Friday in the past
lastMonday() DateTime
Returns new DateTime instance of nearest Monday in the past
lastSaturday() DateTime
Returns new DateTime instance of nearest Saturday in the past
lastSunday() DateTime
Returns new DateTime instance of nearest Sunday in the past
lastThursday() DateTime
Returns new DateTime instance of nearest Thursday in the past
lastTuesday() DateTime
Returns new DateTime instance of nearest Tuesday in the past
lastWednesday() DateTime
Returns new DateTime instance of nearest Wednesday in the past
lastWeekday(int weekday) DateTime
Returns new DateTime instance of last nth weekday
nextFriday() DateTime
Returns new DateTime instance of nearest Friday in the Future
nextMonday() DateTime
Returns new DateTime instance of nearest Monday in the Future
nextSaturday() DateTime
Returns new DateTime instance of nearest Saturday in the Future
nextSunday() DateTime
Returns new DateTime instance of nearest Sunday in the Future
nextThursday() DateTime
Returns new DateTime instance of nearest Thursday in the Future
nextTuesday() DateTime
Returns new DateTime instance of nearest Tuesday in the Future
nextWednesday() DateTime
Returns new DateTime instance of nearest Wednesday in the Future
nextWeekday(int weekday) DateTime
Returns new DateTime instance of nearest nth weekday in the future