MRTI18nPrefs

@interface MRTI18nPrefs : NSObject

Localization preferences.

Summary

Class methods

+ (nonnull MRTI18nPrefs *)i18nPrefsWithSom:( MRTSystemOfMeasurement)som
                                timeFormat:( MRTTimeFormat)timeFormat;

Properties

@property (nonatomic, readonly) MRTSystemOfMeasurement som;
System of measurement (metric or imperial)

@property (nonatomic, readonly) MRTTimeFormat timeFormat;
Time format (12- or 24-hour)

Class methods

i18nPrefsWithSom:timeFormat:

+ (nonnull MRTI18nPrefs *)i18nPrefsWithSom:( MRTSystemOfMeasurement)som
                                timeFormat:( MRTTimeFormat)timeFormat;


Properties

som

@property (nonatomic, readonly) MRTSystemOfMeasurement som;

System of measurement (metric or imperial).


timeFormat

@property (nonatomic, readonly) MRTTimeFormat timeFormat;

Time format (12- or 24-hour).