Class/Object

org.cert.netsa.mothra.packer

RecordStartTime

Related Docs: object RecordStartTime | package packer

Permalink

final case class RecordStartTime(date: LocalDate, time: LocalTime) extends Product with Serializable

The start time of a Record. All returned values use UTC.

date

The date (YEAR, MONTH, DAY) part of the start time.

time

The time (HOUR, MINUTE, SECOND) part of the start time.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordStartTime
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RecordStartTime(date: LocalDate, time: LocalTime)

    Permalink

    date

    The date (YEAR, MONTH, DAY) part of the start time.

    time

    The time (HOUR, MINUTE, SECOND) part of the start time.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val date: LocalDate

    Permalink

    The date (YEAR, MONTH, DAY) part of the start time.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. lazy val hour: Int

    Permalink

    The hour of the start time.

  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. val time: LocalTime

    Permalink

    The time (HOUR, MINUTE, SECOND) part of the start time.

  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. lazy val ymdDirname: String

    Permalink

    A String based on the start time to use in a directory path, in the form "YEAR/MONTH/DAY" such as "2017/01/04".

  21. lazy val ymdhBasename: String

    Permalink

    A String based on the start time to use in a file name, in the form "YYYYMMDD.HH" such as "20170104.23".

  22. def ymdhDuration(numberOfHours: Int): String

    Permalink

    A String for a file that covers multiple hours, assuming each file covers numberOfHours hours.

    A String for a file that covers multiple hours, assuming each file covers numberOfHours hours. The form is similar to ymdhBasename with an additional hyphen and ISO 8601 style duration. Examples: "20191002.14-PT2H", "20191002.12-PT3H", "20191002.12-PT12H", "20191002.00-PT24H".

    The duration suffix is not included when numberOfHours is 1. When numberOfHours is not an even divisor of 24, the value is rounded up to the next even divisor (5 becomes 6, 10 becomes 12, 15 becomes 24).

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped