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.
1000 B
1000 B
Date Is
Instructions
Create the following functions:
isValid
, this function must return false if it's an Invalid DateisAfter
, this function will receive two valid dates and return true if the first date is bigger then the second dateisBefore
, this function will receive two valid dates and return true if the first date is lesser then the second dateisFuture
, will return true if the date given as parameter is valid and higher than the present dateisPast
, will return true if the date given as parameter is valid and less than the present date