org.gerweck.scala.util

date

package date

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. date
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class RichTTDate extends AnyVal with UniversalOrdering[LocalDate]

  2. implicit final class RichTTDateTime extends AnyVal with UniversalOrdering[LocalDateTime]

  3. implicit final class RichTTDuration extends AnyVal with UniversalOrdering[Duration]

  4. implicit final class RichTTInstant extends AnyVal with UniversalOrdering[Instant]

  5. implicit final class RichTTTemporalAmount extends AnyVal

Value Members

  1. implicit def finiteDurationAsTTDuration(dur: FiniteDuration): Duration

  2. def formatDuration(duration: Duration): String

    Annotations
    @inline()
  3. def formatDuration(seconds: Double): String

    Annotations
    @inline()
  4. def formatDuration(seconds: Float): String

    Take an amount of time and format it as a user-friendly string.

    Take an amount of time and format it as a user-friendly string.

    The output string is more human readable than machine friendly: it uses SI prefixes and always has roughly three digits of precision. This makes it easier to see at a glance whether you're talking about milliseconds, seconds, nanoseconds, etc.

    seconds

    The amount of elapsed time, in seconds. This may not be negative.

  5. implicit def timeUnitAsTTChronoUnit(unit: TimeUnit): ChronoUnit

Inherited from AnyRef

Inherited from Any

Ungrouped