Code Cleanup

This commit is contained in:
Prathamesh More 2022-04-21 19:47:24 +05:30
parent 4b4232ce6b
commit b143419520
4 changed files with 4 additions and 16 deletions

View file

@ -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--