Second

class Second(var value: Double) : Expression

System International Unit for time.

Constructors

Link copied to clipboard
constructor(value: Double)

Creates the unit with given value.

Functions

Link copied to clipboard
infix fun Expression.^(degree: Number): Expression

Allows to power an expression to given degree

Link copied to clipboard
open override fun categorySymbols(): String

Returns representation of unit as sequence of separate category symbols and their powers according SI-Standard recommendations.

Link copied to clipboard
fun compare(other: Expression): Int

Compares expressions. Bei small relative difference of values both objects can be recognised as equal.

Link copied to clipboard
open operator override fun compareTo(other: Expression): Int

Compares expressions.Bei small relative difference of values both objects can be recognised as equal.

Link copied to clipboard

Allows to divide expressions.

fun div(other: Number): Expression

Allows to divide expression on number.

Link copied to clipboard

Allows to divide expressions.

operator fun Expression.div(x: Number): Expression

Allows to divide expression to number.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Bei small relative difference of values both objects can be recognised as equal.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Allows to subtract expressions.

Link copied to clipboard

Allows to subtract expressions.

Link copied to clipboard

Allows to divide number on expression.

Link copied to clipboard

Allows to add expressions.

Link copied to clipboard
operator fun Expression.plus(other: Expression): Expression

Allows to add expressions.

Link copied to clipboard

Allows to power an expression to given degree

Link copied to clipboard
fun pw(degree: Number): Expression

Allows to power an expression to given degree

Link copied to clipboard
operator fun Expression.rem(other: Expression): Expression

Allows to calculate the remainder of truncating division of this value by the other value.

Link copied to clipboard

Allows to multiply expressions.

fun times(other: Number): Expression

Allows to multiply expression and number.

Link copied to clipboard
operator fun Expression.times(other: Expression): Expression

Allows to multiply expressions.

operator fun Expression.times(multiplicative: Number): Expression

Allows to multiply expression and number.

Link copied to clipboard
open override fun toString(): String

Represent value as string with two digit after point as decimal separator. Please pay attention: representation of value depends on platform local settings on used computer!

Link copied to clipboard

Implementation of -=

Link copied to clipboard

Implementation of +=

Link copied to clipboard
open override fun unitSymbols(): String

Returns representation of unit as sequence of separate union symbols and their powers according SI-Standard recommendations.

Properties

Link copied to clipboard

Returns numerical value of as, (10^-18 of second)

Link copied to clipboard

Percentage as double

Link copied to clipboard

Percentage as double

Link copied to clipboard

Returns numerical value of as (10^-18 of second)

Link copied to clipboard

Returns numerical value of cs (10^-2 of second)

Link copied to clipboard

Returns numerical value of cs, (10^-2 of second)

Link copied to clipboard

Returns numerical value of das, (10^1 of second)

Link copied to clipboard

Returns numerical value of das (10^1 of second)

Link copied to clipboard

Returns numerical value of ds (10^-1 of second)

Link copied to clipboard
Link copied to clipboard

Returns numerical value of ds, (10^-1 of second)

Link copied to clipboard
@get:JvmName(name = "getEs_prop")
val Second.Es: Double

Returns numerical value of Es, (10^18 of second)

Link copied to clipboard

Returns numerical value of Es (10^18 of second)

Link copied to clipboard

Returns numerical value of fs (10^-15 of second)

Link copied to clipboard

Returns numerical value of fs, (10^-15 of second)

Link copied to clipboard

Returns numerical value of Gs (10^9 of second)

Link copied to clipboard
@get:JvmName(name = "getGs_prop")
val Second.Gs: Double

Returns numerical value of Gs, (10^9 of second)

Link copied to clipboard

Returns numerical value of hs (10^2 of second)

Link copied to clipboard

Returns numerical value of hs, (10^2 of second)

Link copied to clipboard

Returns numerical value of ks (10^3 of second)

Link copied to clipboard

Returns numerical value of ks, (10^3 of second)

Link copied to clipboard

Returns numerical value of Ms (10^6 of second)

Link copied to clipboard

Returns numerical value of μs (10^-6 of second)

Link copied to clipboard

Returns numerical value of ms (10^-3 of second)

Link copied to clipboard
@get:JvmName(name = "getMs_prop")
val Second.Ms: Double

Returns numerical value of Ms, (10^6 of second)

Link copied to clipboard

Returns numerical value of ms, (10^-3 of second)

Link copied to clipboard

Returns numerical value of ns (10^-9 of second)

Link copied to clipboard

Returns numerical value of ns, (10^-9 of second)

Link copied to clipboard

Returns numerical value of Ps (10^15 of second)

Link copied to clipboard

Returns numerical value of ps (10^-12 of second)

Link copied to clipboard
@get:JvmName(name = "getPs_prop")
val Second.Ps: Double

Returns numerical value of Ps, (10^15 of second)

Link copied to clipboard

Returns numerical value of ps, (10^-12 of second)

Link copied to clipboard
@get:JvmName(name = "getQs_prop")
val Second.Qs: Double

Returns numerical value of Qs, (10^30 of second)

Link copied to clipboard

Returns numerical value of qs, (10^-30 of second)

Link copied to clipboard

Returns numerical value of qs (10^-30 of second)

Link copied to clipboard

Returns numerical value of Qs (10^30 of second)

Link copied to clipboard

Returns numerical value of Rs (10^27 of second)

Link copied to clipboard

Returns numerical value of rs (10^-27 of second)

Link copied to clipboard
@get:JvmName(name = "getRs_prop")
val Second.Rs: Double

Returns numerical value of Rs, (10^27 of second)

Link copied to clipboard

Returns numerical value of rs, (10^-27 of second)

Link copied to clipboard

Returns numerical value of Ts (10^12 of second)

Link copied to clipboard
@get:JvmName(name = "getTs_prop")
val Second.Ts: Double

Returns numerical value of Ts, (10^12 of second)

Link copied to clipboard
Link copied to clipboard

Returns numerical value of ys (10^-24 of second)

Link copied to clipboard

Returns numerical value of Ys (10^24 of second)

Link copied to clipboard
@get:JvmName(name = "getYs_prop")
val Second.Ys: Double

Returns numerical value of Ys, (10^24 of second)

Link copied to clipboard

Returns numerical value of ys, (10^-24 of second)

Link copied to clipboard

Returns numerical value of zs (10^-21 of second)

Link copied to clipboard

Returns numerical value of Zs (10^21 of second)

Link copied to clipboard
@get:JvmName(name = "getZs_prop")
val Second.Zs: Double

Returns numerical value of Zs, (10^21 of second)

Link copied to clipboard

Returns numerical value of zs, (10^-21 of second)

Link copied to clipboard

Returns numerical value of μs, (10^-6 of second)