mirror of https://github.com/01-edu/public.git
0bd911fb63 | ||
---|---|---|
.. | ||
README.md |
README.md
Rebecca Black
Instructions
Create the following functions which accept a Date
:
isFriday
: returnstrue
if theDate
is a Friday.isWeekend
: returnstrue
if theDate
is a weekend day.isLeapYear
: returnstrue
if the year of theDate
is a leap year.isLastDayOfMonth
: returnstrue
if theDate
represents the last day of the month.