Package world.mappable.runtime.i18n
Class I18nPrefs
java.lang.Object
↳ world.mappable.runtime.i18n.I18nPrefs
class I18nPrefs implements Serializable
Localization preferences.
Summary
Constructors
Signature and Description |
I18nPrefs(@NonNull SystemOfMeasurement som, |
I18nPrefs() |
Methods
Type and modifiers |
Method and Description |
getSom() |
|
getTimeFormat() |
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
I18nPrefs
I18nPrefs(@NonNull SystemOfMeasurement som, |
I18nPrefs
I18nPrefs() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getSom
@NonNull |
System of measurement (metric or imperial).
getTimeFormat
@NonNull |
Time format (12- or 24-hour).
serialize
@Override |