Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DateSorter

Test task

This task consists in implementing the sortDates() method of the IDateSorter interface. The implementation of this method should sort dates. The output should be in the following order: Dates with an 'r' in the month, sorted ascending (first to last), then dates without an 'r' in the month, sorted descending (last to first). For example, October dates would come before May dates, because October has an 'r' in it. thus: (2005-07-01, 2005-01-02, 2005-01-01, 2005-05-03) would sort to: (2005-01-01, 2005-01-02, 2005-07-01, 2005-05-03)

About

Test task

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages