Package crackers.kobots.parts
Class StuffKt
-
- All Implemented Interfaces:
public final class StuffKt
-
-
Method Summary
Modifier and Type Method Description final static Boolean
onOff(JSONObject $self, String key)
Extension function on a JSON object to get a on/off status as a boolean. final static Duration
elapsed(Instant $self)
Elapsed time. final static Duration
microDuration(Long micros)
Microseconds to Duration
.final static <T extends Enum<T>> T
enumValue(String s)
Enum value or null. final static Float
toFahrenheit(Float $self)
-
-
Method Detail
-
onOff
final static Boolean onOff(JSONObject $self, String key)
Extension function on a JSON object to get a on/off status as a boolean.
-
microDuration
final static Duration microDuration(Long micros)
Microseconds to
Duration
.
-
toFahrenheit
final static Float toFahrenheit(Float $self)
-
-
-
-