Milestone 3. Single authority for DoseTime semantics: weekly mask (bit 0 = Sunday) vs every-N-days from anchor (mask ignored when intervalDays > 1). nextOccurrence is strictly-after by contract so the alarm layer can pass the occurrence it just fired and never re-arm the same minute. Wall-clock LocalDateTime throughout — instant conversion happens at the alarm edge, so an 08:00 dose stays 08:00 across DST. Consumption rate is prospective (from schedule) because days-of-supply predicts forward; historical consumption stays in the DAO. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| schemas/no.naiv.meddetsamme.data.MedDatabase | ||
| src | ||
| build.gradle.kts | ||