Package crackers.kobots.parts
Class StuffKt
-
- All Implemented Interfaces:
public final class StuffKt
-
-
Method Summary
Modifier and Type Method Description final static BooleanonOff(JSONObject $self, String key)Extension function on a JSON object to get a on/off status as a boolean. final static Durationelapsed(Instant $self)Elapsed time. final static DurationmicroDuration(Long micros)Microseconds to Duration.final static <T extends Enum<T>> TenumValue(String s)Enum value or null. final static FloattoFahrenheit(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)
-
-
-
-