DateService

Functions

Link copied to clipboard
fun addOrSubtractTimeUnitFromCurrentDate(timeUnitCount: Int, operation: String, timeUnit: String = TimeUnit.YEAR.type, dateFormat: String = SDF_YYYY_MM_DD): String
Link copied to clipboard
fun compareDates(firstDate: Date, secondDate: Date): Int
fun compareDates(firstDateFormat: String = SDF_YYYY_MM_DD, firstDateString: String, secondDateFormat: String = SDF_YYYY_MM_DD, secondDateString: String): Int?