Code Cleanup
This commit is contained in:
parent
4b4232ce6b
commit
b143419520
4 changed files with 4 additions and 16 deletions
|
@ -88,7 +88,6 @@ class CalendarUtil {
|
|||
// Today + rest of this month + previous months until January
|
||||
var elapsed = elapsedMonth
|
||||
var month = calendar[Calendar.MONTH] - 1
|
||||
val year = calendar[Calendar.YEAR]
|
||||
while (month > Calendar.JANUARY) {
|
||||
elapsed += getDaysInMonth(month) * MS_PER_DAY
|
||||
month--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue