TimeFormat

org.abh80.nf.core.time.TimeFormat
See theTimeFormat companion class
object TimeFormat

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TimeFormat.type

Members list

Type members

Classlikes

implicit class BinOp(self: TimeFormat)

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromDouble(seconds: Double): TimeFormat
def fromTimeUnit(value: Long, unit: TimeUnit): TimeFormat

Converts a time value from a specific TimeUnit to TimeFormat.

Converts a time value from a specific TimeUnit to TimeFormat.

Value parameters

unit

The TimeUnit of the input value

value

The time value to convert

Attributes

Returns

A new TimeFormat instance representing the converted time

Implicits

Implicits

final implicit def BinOp(self: TimeFormat): BinOp