All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Timecard.calculateMinutesWorked()
now takes an optional second argument to include time since last entry to NOW.
Timecard.calculateMinutesWorked()
returning 0 minutes despite there being time worked
- [BREAKING] Minimum supported Java from 11 to 17
Timecard.calculateMinutesOnBreak()
now takes an optional second argument to include time since last entry to NOW.- Updated dependencies
Timecard.calculateExpectedEndTime()
now reports the time the user is finished rather than the last minute they need to work (#4)
- kotlinx.serialization capability to
Timecard
andTimeEntry
- [BREAKING]
TimeEntries
was renamed toTimecard
- [BREAKING]
Timecard.toString()
now separatesTimeEntry
s by newline\n
rather than semicolon;
Timecard.fromString()
was updated to comply with this change as well
- [BREAKING]
TimeEntry.toString()
now stores Instants as epoch milliseconds rather than epoch secondsTimeEntry.fromString()
was updated to comply with this change as well
- Initial release