improve statistics

This commit is contained in:
2025-11-26 23:04:22 +01:00
parent 8adacd3bfe
commit 0a424e8807
5 changed files with 429 additions and 156 deletions

View File

@@ -94,18 +94,6 @@ class LunaEvent: Comparable<LunaEvent> {
this.quantity = quantity
}
fun getStartTime(): Long {
return time
}
fun getEndTime(): Long {
return if (type == TYPE_SLEEP) {
time + quantity
} else {
time
}
}
fun getTypeEmoji(context: Context): String {
return context.getString(
when (type) {