create domain class Task
define Task fields and methods
let groovy generate getters and setters
create domain class Schedule
rename Schedule to Interval
rename and refactor fields and methods
store return values for tests
define Task properties and methods
replace magic number with local constant

tasx-5
add comment explaining User.getName()
omit unnecessary parentheses
format string with method instead of loop
access fields directly, use comparison operators, add comments
omit this, replace indirect property accesses
use Date instead of Calendar
Interval contains its lower bound
adjust comment spacing
unit test Interval.contains
unit test Interval.overlaps
unit test Task constructor