KoDriver
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
KoDriver
domain
/
kurou.kodriver.domain.model
/
Celsius
Celsius
value
class
Celsius
(
val
value
:
Int
)
:
Comparable
<
Celsius
>
摂氏温度を表す値。単位の取り違え(℃/℉、他の閾値との誤代入等)をコンパイル時に防ぐために使う。
Members
Constructors
Celsius
Link copied to clipboard
constructor
(
value
:
Int
)
Properties
value
Link copied to clipboard
val
value
:
Int
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Celsius
)
:
Int
minus
Link copied to clipboard
operator
fun
minus
(
other
:
Celsius
)
:
Celsius