Package

org.gerweck.scala.util

date

Permalink

package date

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. date
  2. ScalaDurationImplicits
  3. ThreeTenBPImplicits
  4. FormatMethods
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait FormatMethods extends AnyRef

    Permalink

    Methods for formatting time durations.

  2. trait ScalaDurationImplicits extends AnyRef

    Permalink

    Implicit wrappers that enrich the Scala scala.concurrent.duration.Duration object.

  3. trait ThreeTenBPImplicits extends AnyRef

    Permalink

    Implicit conversions for JSR-310 Backport objects.

Value Members

  1. object ScalaDurationWrappers

    Permalink
  2. object ThreeTenBPWrappers extends ThreeTenBPImplicits

    Permalink
  3. implicit final def enrichDateTimeFormatter(i: DateTimeFormatter): RichDateTimeFormatter

    Permalink
    Definition Classes
    ThreeTenBPImplicits
    Annotations
    @inline()
  4. implicit final def enrichScalaDuration(d: Duration): RichScalaDuration

    Permalink
    Definition Classes
    ScalaDurationImplicits
    Annotations
    @inline()
  5. implicit final def enrichTTDate(i: LocalDate): RichTTDate

    Permalink
    Definition Classes
    ThreeTenBPImplicits
    Annotations
    @inline()
  6. implicit final def enrichTTDateTime(i: LocalDateTime): RichTTDateTime

    Permalink
    Definition Classes
    ThreeTenBPImplicits
    Annotations
    @inline()
  7. implicit final def enrichTTDuration(i: Duration): RichTTDuration

    Permalink
    Definition Classes
    ThreeTenBPImplicits
    Annotations
    @inline()
  8. implicit final def enrichTTInstant(i: Instant): RichTTInstant

    Permalink
    Definition Classes
    ThreeTenBPImplicits
    Annotations
    @inline()
  9. implicit final def enrichTTTemporalAmount(i: TemporalAmount): RichTTTemporalAmount

    Permalink
    Definition Classes
    ThreeTenBPImplicits
    Annotations
    @inline()
  10. implicit def finiteDurationAsTTDuration(dur: FiniteDuration): Duration

    Permalink
    Definition Classes
    ThreeTenBPImplicits
  11. final def formatDuration(duration: FiniteDuration): String

    Permalink
    Definition Classes
    FormatMethods
    Annotations
    @inline()
  12. final def formatDuration(seconds: Float): String

    Permalink
    Definition Classes
    FormatMethods
    Annotations
    @inline()
  13. final def formatDuration(seconds: Double): String

    Permalink

    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.

    Definition Classes
    FormatMethods
  14. implicit def timeUnitAsTTChronoUnit(unit: TimeUnit): ChronoUnit

    Permalink
    Definition Classes
    ThreeTenBPImplicits
  15. implicit def ttDurationAsFiniteDuration(ttDur: Duration): FiniteDuration

    Permalink
    Definition Classes
    ThreeTenBPImplicits

Inherited from ScalaDurationImplicits

Inherited from ThreeTenBPImplicits

Inherited from FormatMethods

Inherited from AnyRef

Inherited from Any

Ungrouped