Package world.mappable.mapkit

Class Time

java.lang.Object
    ↳ world.mappable.mapkit.Time

class Time implements Serializable

Time in I18nTime format.

Summary

Constructors

Signature and Description

Time(long value,
     int tzOffset,
     @NonNull java.lang.String text)

Time()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

long

getValue()
Time value.

int

getTzOffset()
Time offset to account for time zones.

java.lang.String

getText()
The description of the timer.

void

serialize(world.mappable.runtime.bindings.Archive archive)

Constuctors

Time

Time(long value,
     int tzOffset,
     @NonNull java.lang.String text)


Time

Time()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getValue

long getValue()

Time value.


getTzOffset

int getTzOffset()

Time offset to account for time zones.


getText

@NonNull
java.lang.String getText()

The description of the timer.


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)


Previous