Object/Class

com.typesafe.play.cachecontrol

Seconds

Related Docs: class Seconds | package cachecontrol

Permalink

object Seconds extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Seconds
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val ZERO: Seconds

    Permalink

    Constant representing zero seconds.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def between(startInclusive: Temporal, endInclusive: Temporal): Seconds

    Permalink

    Creates a Seconds representing the number of whole seconds between the two specified datetimes.

    Creates a Seconds representing the number of whole seconds between the two specified datetimes.

    startInclusive

    the start instant, must not be null

    endInclusive

    the end instant, must not be null

    returns

    the period in seconds

    Exceptions thrown

    IllegalArgumentException if the instants are null or invalid

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. implicit def fromDurationToSecond(duration: Duration): Seconds

    Permalink

    implicit that will only use the seconds part of a duration

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def ofDuration(duration: Duration): Seconds

    Permalink

    Obtains an instance of Seconds.

    Obtains an instance of Seconds. This will actually only use the seconds of a java.time.Duration.

    duration

    the duration

    returns

    the instance of Seconds

  19. def parse(periodStr: String): Seconds

    Permalink

    Creates a new Seconds by parsing a string in the ISO8601 format 'PTnS'.

    Creates a new Seconds by parsing a string in the ISO8601 format 'PTnS'.

    The parse will accept the full ISO syntax of PnYnMnWnDTnHnMnS however only the seconds component may be non-zero. If any other component is non-zero, an exception will be thrown.

    periodStr

    the period string, null returns zero

    returns

    the period in seconds

    Exceptions thrown

    IllegalArgumentException if the string format is invalid

  20. def seconds(seconds: Long): Seconds

    Permalink

    Obtains an instance of Seconds.

    Obtains an instance of Seconds.

    seconds

    the number of seconds to obtain an instance for

    returns

    the instance of Seconds

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped