YamlTimestamp

shampoo.yaml.YamlTimestamp
See theYamlTimestamp companion object
sealed trait YamlTimestamp extends YamlScalar

Defines YAML timestamp.

Attributes

Companion
object
Graph
Supertypes
trait YamlScalar
trait YamlNode
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def toInstant: Instant

Gets timestamp as Instant.

Gets timestamp as Instant.

Attributes

def toLocalDate: LocalDate

Gets timestamp as LocalDate.

Gets timestamp as LocalDate.

Attributes

def toLocalDateTime: LocalDateTime

Gets timestamp as LocalDateTime.

Gets timestamp as LocalDateTime.

Attributes

def toOffsetDateTime: OffsetDateTime

Gets timestamp as OffsetDateTime.

Gets timestamp as OffsetDateTime.

Attributes

Inherited methods

def as[T](using constructor: YamlConstructor[T]): T

Constructs data.

Constructs data.

Value parameters

constructor

data constructor

Attributes

Inherited from:
YamlNode