data class GMTDate : Comparable<GMTDate>
Date in GMT timezone |
|
enum class Month
Month value is 3 letter shortcut |
|
enum class WeekDay
Day of week value is 3 letter shortcut |
expect fun GMTDate(timestamp: Long? = null): GMTDate
Create new gmt date from the timestamp. expect fun GMTDate(seconds: Int, minutes: Int, hours: Int, dayOfMonth: Int, month: Month, year: Int): GMTDate
Create an instance of GMTDate from the specified date/time components |
|
operator fun GMTDate.minus(milliseconds: Long): GMTDate
Subtracts the specified number of milliseconds |
|
operator fun GMTDate.plus(milliseconds: Long): GMTDate
Adds the specified number of milliseconds |
|
fun GMTDate.toJvmDate(): Date
Convert to Date |
|
fun GMTDate.truncateToSeconds(): GMTDate
Truncate to seconds by discarding sub-second part |