|
|
|
@ -81,7 +81,7 @@ fun Date.getShortDayName() : String { |
|
|
|
} |
|
|
|
} |
|
|
|
// Return the month & year of the date |
|
|
|
// Return the month & year of the date |
|
|
|
fun Date.getMonthAndYear(): String { |
|
|
|
fun Date.getMonthAndYear(): String { |
|
|
|
return SimpleDateFormat("MMMM YYYY", Locale.getDefault()).format(this).capitalize() |
|
|
|
return SimpleDateFormat("MMMM yyyy", Locale.getDefault()).format(this).capitalize() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Return the netDuration between two dates |
|
|
|
// Return the netDuration between two dates |
|
|
|
|