package
time
Type Members
-
implicit
class
FormatStringContext extends AnyRef
Concrete Value Members
-
def
dateTimeCodec(format: Format): Codec[E, DateTime, F, T]
-
def
dateTimeCodec(format: ⇒ DateTimeFormatter): Codec[E, DateTime, F, T]
-
def
dateTimeDecoder(format: Format): Decoder[E, DateTime, F, T]
-
def
dateTimeDecoder(format: ⇒ DateTimeFormatter): Decoder[E, DateTime, F, T]
-
def
dateTimeEncoder(format: Format): Encoder[E, DateTime, T]
-
def
dateTimeEncoder(format: ⇒ DateTimeFormatter): Encoder[E, DateTime, T]
-
implicit
val
defaultDateTimeCellDecoder: Exported[CellDecoder[DateTime]]
-
implicit
val
defaultDateTimeCellEncoder: Exported[CellEncoder[DateTime]]
-
def
defaultDateTimeDecoder: Decoder[E, DateTime, F, T]
-
def
defaultDateTimeEncoder: Encoder[E, DateTime, T]
-
implicit
val
defaultLocalDateCellDecoder: Exported[CellDecoder[LocalDate]]
-
implicit
val
defaultLocalDateCellEncoder: Exported[CellEncoder[LocalDate]]
-
def
defaultLocalDateDecoder: Decoder[E, LocalDate, F, T]
-
def
defaultLocalDateEncoder: Encoder[E, LocalDate, T]
-
implicit
val
defaultLocalDateTimeCellDecoder: Exported[CellDecoder[LocalDateTime]]
-
implicit
val
defaultLocalDateTimeCellEncoder: Exported[CellEncoder[LocalDateTime]]
-
def
defaultLocalDateTimeDecoder: Decoder[E, LocalDateTime, F, T]
-
def
defaultLocalDateTimeEncoder: Encoder[E, LocalDateTime, T]
-
implicit
val
defaultLocalTimeCellDecoder: Exported[CellDecoder[LocalTime]]
-
implicit
val
defaultLocalTimeCellEncoder: Exported[CellEncoder[LocalTime]]
-
def
defaultLocalTimeDecoder: Decoder[E, LocalTime, F, T]
-
def
defaultLocalTimeEncoder: Encoder[E, LocalTime, T]
-
def
localDateCodec[D](format: Format): Codec[E, LocalDate, F, T]
-
def
localDateCodec[D](format: ⇒ DateTimeFormatter): Codec[E, LocalDate, F, T]
-
def
localDateDecoder(format: Format): Decoder[E, LocalDate, F, T]
-
def
localDateDecoder(format: ⇒ DateTimeFormatter): Decoder[E, LocalDate, F, T]
-
def
localDateEncoder(format: Format): Encoder[E, LocalDate, T]
-
def
localDateEncoder(format: ⇒ DateTimeFormatter): Encoder[E, LocalDate, T]
-
def
localDateTimeCodec[D](format: Format): Codec[E, LocalDateTime, F, T]
-
def
localDateTimeCodec[D](format: ⇒ DateTimeFormatter): Codec[E, LocalDateTime, F, T]
-
def
localDateTimeDecoder(format: Format): Decoder[E, LocalDateTime, F, T]
-
def
localDateTimeDecoder(format: ⇒ DateTimeFormatter): Decoder[E, LocalDateTime, F, T]
-
def
localDateTimeEncoder(format: Format): Encoder[E, LocalDateTime, T]
-
def
localDateTimeEncoder(format: ⇒ DateTimeFormatter): Encoder[E, LocalDateTime, T]
-
def
localTimeCodec[D](format: Format): Codec[E, LocalTime, F, T]
-
def
localTimeCodec[D](format: ⇒ DateTimeFormatter): Codec[E, LocalTime, F, T]
-
def
localTimeDecoder(format: Format): Decoder[E, LocalTime, F, T]
-
def
localTimeDecoder(format: ⇒ DateTimeFormatter): Decoder[E, LocalTime, F, T]
-
def
localTimeEncoder(format: Format): Encoder[E, LocalTime, T]
-
def
localTimeEncoder(format: ⇒ DateTimeFormatter): Encoder[E, LocalTime, T]
Inherited from AnyRef
Inherited from Any
Declares kantan.csv.CellDecoder and kantan.csv.CellEncoder instances for joda-time types.
Note that the type for default codecs might come as a surprise: the wrapping
Exportedis used to lower their priority. This is necessary because the standard use case will be toimport kantan.csv.joda.time._, which brings both the instance creation and default instances in scope. Without this type trickery, custom instances and default ones would always clash.