improve statistics
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user