TimeParser

object TimeParser extends LogSupport

Time string to ZonedDateTime converter

trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any

Type members

Classlikes

case class TimeParseResult(dateTime: ZonedDateTime, unit: TimeWindowUnit)

Value members

Concrete methods

def parse(s: String, zone: ZoneOffset): Option[ZonedDateTime]
def parseAtLocalTimeZone(s: String): Option[ZonedDateTime]
def parseLocalDateTime(s: String, zone: ZoneOffset): Option[TimeParseResult]
def parseTimeAndUnit(s: String, zone: ZoneOffset): Option[TimeParseResult]
def parseZonedDateTime(s: String): Option[TimeParseResult]

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit
Inherited from:
LoggingMethods

Concrete fields

val localDatePattern: DateTimeFormatter
val localDateTimePattern: DateTimeFormatter
val zonedDateTimePatterns: List[DateTimeFormatter]