Package io.ktor.util.date
Types
data class GMTDate : Comparable<GMTDate> Date in GMT timezone |
|
class GMTDateParser |
|
enum class Month Month value is 3 letter shortcut |
|
enum class WeekDay Day of week value is 3 letter shortcut |
Exceptions
class InvalidDateStringException : IllegalStateException Thrown when the date string doesn’t the string pattern. |
Extensions for External Classes
Functions
Create new gmt date from the timestamp. expect fun GMTDate( Create an instance of GMTDate from the specified date/time components |
|
Subtracts the specified number of milliseconds |
|
Adds the specified number of milliseconds |
|
Convert to Date |
|
Truncate to seconds by discarding sub-second part |