/babysitters-club

Primary LanguageKotlinMIT LicenseMIT

babysitters-club

This application contains logic to calculate the babysitter's wages for the night.

Some assumptions:

The bedtime is dynamic, but restricted to before midnight.

The babysitter's shift must start before midnight.

The start and end time zone are assumed to be identical.

The logic can be found in the BabysitterSalaryEngine, the tests can be found in the BabysitterTest class.