FractionalSeconds

Factory for time precision of fractional seconds.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(scale: Int): FractionalSeconds

Gets time precision with applied scale of fractional seconds.

Gets time precision with applied scale of fractional seconds.

Value Params
scale

scale of fractional seconds

Throws
IllegalArgumentException

if scale < 1 or scale > 9

def unapply(fsecs: FractionalSeconds): Option[Int]

Destructures fractional seconds to its scale value.

Destructures fractional seconds to its scale value.

Value Params
fsecs

fractional seconds