Reference start/end dates with classes