mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
davhojt
b553cb6712
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago |
README.md
Date Is
Instructions
Create the following functions:
isValid
: accepts aDate
, and returnsfalse
if theDate
is invalid.isAfter
: accepts twoDate
arguments, and returnstrue
if the first is greater then the second.isBefore
: accepts twoDate
arguments, and returnstrue
if the second is greater than the first.isFuture
: accepts aDate
, and returnstrue
if theDate
is valid, and is after than the present date.isPast
: accepts aDate
, and returnstrue
if theDate
is valid, and is before the present date.