~ruther/simple-clock

ref: b92738752d8b6cc66a2b634b6528a7f5d3f2a315 simple-clock/source/src d---------
b9273875 — František Boháček 1 year, 8 months ago
feat(src): add meaningful message to panic in Calendar::days_in_month
2efb21b5 — František Boháček 1 year, 8 months ago
feat(src): add calendar freezing possibility
d6c87cb8 — František Boháček 1 year, 8 months ago
feat(src): replace DisplayView with hide, show on clock parts

The clock is meant to show only clock, so introducing
DisplayView trait was an overkill, a simpler
solution has been implemented instead.

Previous solution did not allow for showing and hiding individual parts,
hiding parts may be useful when setting time, to blink the current part
being set.
4a0e2e85 — František Boháček 1 year, 8 months ago
feat(src): add setter methods for Calendar

Allows to change the current date of
already existing calendar.
4b0ed457 — František Boháček 1 year, 8 months ago
tests(src): add tests for calendar tick functions
86dd835a — František Boháček 1 year, 8 months ago
feat(src): implement Calendar::from_ticks for arbitrary year, add Calendar::to_ticks

So far, Calendar::from_ticks could not correctly parse
other month than the base month, this commit fixes that.

Calendar::to_ticks may convert any Calendar date to seconds passed from
the base year. The base year is remembered in Calendar instance.
7a215041 — František Boháček 1 year, 8 months ago
chore(src): format with fmt
e2a425e4 — František Boháček 1 year, 8 months ago
feat(src): split main into multiple functions
acab128c — František Boháček 1 year, 8 months ago
fix(src): remove unnecessary import
9a82d5ee — František Boháček 1 year, 8 months ago
chore(src): move source to source/ folder
Do not follow this link