Sha256: b39e4644dabc5906b92b790159018e94782f8b0005ad4a5642ee5ec3397d598b

Contents?: true

Size: 948 Bytes

Versions: 83

Compression:

Stored size: 948 Bytes

Contents

Calculate the date of meetups.

Typically meetups happen on the same day of the week.  In this exercise, you will take
a description of a meetup date, and return the actual meetup date.

Examples of general descriptions are:

- the first Monday of January 2017
- the third Tuesday of January 2017
- the Wednesteenth of January 2017
- the last Thursday of January 2017

Note that "Monteenth", "Tuesteenth", etc are all made up words. There
was a meetup whose members realized that there are exactly 7 numbered days in a month that
end in '-teenth'. Therefore, one is guaranteed that each day of the week
(Monday, Tuesday, ...) will have exactly one date that is named with '-teenth'
in every month.

Given examples of a meetup dates, each containing a month, day, year, and descriptor 
(first, second, teenth, etc), calculate the date of the actual meetup.
For example, if given "First Monday of January 2017", the correct meetup date is 2017/1/2
 

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
trackler-2.2.1.39 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.38 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.37 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.36 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.35 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.34 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.33 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.32 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.31 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.30 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.29 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.28 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.27 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.26 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.25 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.24 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.23 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.22 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.21 problem-specifications/exercises/meetup/description.md
trackler-2.2.1.20 problem-specifications/exercises/meetup/description.md