mirror of https://github.com/01-edu/public.git
602 B
602 B
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.