package timestamp
Contains functionality for turning Entry timestamps (which are Longs representing the number of milliseconds since the Unix epoch) into text.
- Alphabetic
- By Inheritance
- timestamp
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
HumanReadableTimestampFormatter extends SimpleDateFormatTimestampFormatter
Converts timestamps into a human-readable and sortable (larger units precede smaller units) format.
-
class
ISO8601TimestampFormatter extends SimpleDateFormatTimestampFormatter
Converts timestamps into their ISO 8601 string representation.
-
case class
SimpleDateFormatTimestampFormatter(format: String, tz: Option[TimeZone] = None) extends Formatter[Long] with Product with Serializable
Converts timestamps into their string representation using a SimpleDateFormat.
Converts timestamps into their string representation using a SimpleDateFormat.
- format
- tz
the optional time zone to use to format timestamps, None means to use the system default
Value Members
-
object
HumanReadableTimestampFormatter extends HumanReadableTimestampFormatter
Converts timestamps into a human-readable and sortable (larger units precede smaller units) format for the default time zone.
-
object
ISO8601TimestampFormatter extends ISO8601TimestampFormatter
Converts timestamps into their ISO 8601 string representation for the system default time zone.
-
object
JavaEpochTimestampFormatter extends Formatter[Long]
Converts timestamps into a string containing the number of milliseconds since the Unix epoch in UTC.