kit-sdq / TimeSheetGenerator

TimeSheetGenerator is an application that checks and builds time sheet documents.
MIT License
23 stars 6 forks source link

Evaluate necessity of corrected max working time check in timesheet #83

Open gstuer opened 4 years ago

gstuer commented 4 years ago

Evaluate necessity of corrected max working time check ensuring timesheet's integrity Is this check really needed to ensure that the timesheet's instances are correct or is it adequate to check this in the Checker instances. What problems could appear? How can we solve these problems?

Originally posted by @gstuer in https://github.com/kit-sdq/TimeSheetGenerator/pull/79

larsk21 commented 4 years ago

This is linked to the use of the TimeSpan class. I would propose to add a new data type for clock time, e.g. 07:15 or 23:45, and use the TimeSpan class for positive and negative "time vectors".