object HttpDate
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpDate
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def diff(start: ZonedDateTime, end: ZonedDateTime): Seconds
Returns the number of seconds between two dates.
- def format(dateTime: ZonedDateTime): String
- def fromEpochSeconds(timeSinceEpochInSeconds: Int): ZonedDateTime
Produces a DateTime object, given the time since epoch IN SECONDS.
Produces a DateTime object, given the time since epoch IN SECONDS. Note that most Java methods return TSE in milliseconds, so be careful.
- def now: ZonedDateTime
Returns the current time, in the correct GMT time zone.
- def parse(dateString: String): ZonedDateTime
Parses an HTTP date according to http://tools.ietf.org/html/rfc7231#section-7.1.1.1
- val zone: ZoneId
The GMT time zone.
Defines methods for parsing and formatting HTTP dates.