Uses of Class
com.iizix.LocaleInfo
Packages that use LocaleInfo Package Description com.iizix com.iizix.gyro com.iizix.joda com.iizix.prop com.iizix.prop.ui.datetime com.iizix.prop.ui.mlist com.iizix.prop.vs com.iizix.server.gyro com.iizix.text com.iizix.value Uses of LocaleInfo in com.iizix
Fields in com.iizix declared as LocaleInfo Modifier and Type Field Description static LocaleInfo
LocaleInfo. DEFAULT_LOCALEINFO
The system default locale info.static LocaleInfo
LocaleInfo. ENGLISH_LOCALEINFO
The Locale.ENGLISH based locale info.Methods in com.iizix that return LocaleInfo Modifier and Type Method Description LocaleInfo
LocaleInfo. clone()
Clones the instance.static LocaleInfo
LocaleInfo. getCurrent(boolean logDefault)
Gets the current LocalInfo for the calling thread.static LocaleInfo
LocaleInfo. getLocaleInfo(java.lang.String languageCode)
Creates or gets a cached copy of a locale for a language code.static LocaleInfo
LocaleInfo. getLocaleInfo(java.lang.String country, java.lang.String language, java.lang.String variant)
Creates or gets a cached copy of a locale for a language.static LocaleInfo
LocaleInfo. getLocaleInfo(java.util.Locale locale)
Creates or gets a cached copy of a locale for a language.static LocaleInfo
LocaleInfo. getNonNull(LocaleInfo localeInfo, boolean logDefault)
Returns the LocaleInfo from the parameter if non-null, otherwise takes the current user's LocaleInfo or the system's.Methods in com.iizix with parameters of type LocaleInfo Modifier and Type Method Description Value
Value. convert(Value.Type targetType, LocaleInfo localeInfo)
Converts this Value from its current value type to the requested target type using the specified locale information.static java.lang.String
Utilities. format(LocaleInfo localeInfo, java.lang.String string, java.lang.Object... params)
Formats a String using curly brackets{}
as parameter or{param_index}
parameter whereparam_index
is an optional one-based index value, AND/OR the JavaString.format(Locale, String, Object...)
method using parameters in the form of%[flags][width]conversion
or%[argument_index$][flags][width]conversion
.static LocaleInfo
LocaleInfo. getNonNull(LocaleInfo localeInfo, boolean logDefault)
Returns the LocaleInfo from the parameter if non-null, otherwise takes the current user's LocaleInfo or the system's.static java.lang.String
Value. getString(java.lang.Object value, Value.Type type, java.lang.String pattern, LocaleInfo localeInfo)
Gets the value as a String with the specified pattern formatter string.java.lang.String
Value. getString(java.lang.String pattern, LocaleInfo localeInfo)
Gets the value as a String with the specified pattern formatter string.static Value
Value. ofType(java.lang.Object value, Value.Type targetType, LocaleInfo localeInfo)
Tries to create aValue
instance forced to the specified type.static Value
Value. parseValue(java.lang.String value, Value.Type type, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.static void
LocaleInfo. setCurrent(LocaleInfo localeInfo)
Sets the current LocaleInfo, i.e.java.time.LocalDateTime
Value. toLocalDateTime(LocaleInfo localeInfo)
Converts this Value and returns it as aLocalDateTime
using the locale information specified.java.time.OffsetDateTime
Value. toOffsetDateTime(LocaleInfo localeInfo)
Converts this Value and returns it as anOffsetDateTime
using the locale information specified.java.time.OffsetTime
Value. toOffsetTime(LocaleInfo localeInfo)
Converts this Value and returns it as anOffsetTime
using the locale information specified.ImmutableXMLGregorianCalendar
Value. toXMLGregorianCalendar(LocaleInfo localeInfo)
Converts this Value and returns it as anImmutableXMLGregorianCalendar
using the locale information specified.java.time.ZonedDateTime
Value. toZonedDateTime(LocaleInfo localeInfo)
Converts this Value and returns it as aZonedDateTime
using the locale information specified.Uses of LocaleInfo in com.iizix.gyro
Methods in com.iizix.gyro that return LocaleInfo Modifier and Type Method Description LocaleInfo
IClientSessionGyro. setLocale(LocaleInfo locale)
Changes or sets the LocaleInfo for the environment.Methods in com.iizix.gyro with parameters of type LocaleInfo Modifier and Type Method Description LocaleInfo
IClientSessionGyro. setLocale(LocaleInfo locale)
Changes or sets the LocaleInfo for the environment.Uses of LocaleInfo in com.iizix.joda
Methods in com.iizix.joda with parameters of type LocaleInfo Modifier and Type Method Description static java.text.Format
DurationFormatPattern. getPeriodFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Gets the Joda period formatter for a pattern.Uses of LocaleInfo in com.iizix.prop
Methods in com.iizix.prop that return LocaleInfo Modifier and Type Method Description LocaleInfo
EnvProps. getLocale()
Gets the client local info class instance.LocaleInfo
EnvProps. setLocale(LocaleInfo locale)
Changes or sets the LocaleInfo for the environment.Methods in com.iizix.prop with parameters of type LocaleInfo Modifier and Type Method Description static GDateTime
GDateTime. now(GDateTime.Type type, LocaleInfo localeInfo)
Create a new GDateTime with the current date and/or time for a type.LocaleInfo
EnvProps. setLocale(LocaleInfo locale)
Changes or sets the LocaleInfo for the environment.java.time.OffsetDateTime
GDateTime. toOffsetDateTime(LocaleInfo localeInfo)
Gets the date as a OffsetDateTime with potential forced conversion.java.time.OffsetTime
GDateTime. toOffsetTime(LocaleInfo localeInfo)
Gets the current value as a OffsetTime with potential forced conversion.GDateTime
GDateTime. toType(GDateTime.Type type, LocaleInfo localeInfo)
Converts a date/time value to another type.java.time.ZonedDateTime
GDateTime. toZonedDateTime(LocaleInfo localeInfo)
Gets the date as a LocalDateTime with potential forced conversion, and will only work to convert an OffsetDateTime.Uses of LocaleInfo in com.iizix.prop.ui.datetime
Methods in com.iizix.prop.ui.datetime with parameters of type LocaleInfo Modifier and Type Method Description default GDateTime
IUIDateTime. getDefaultValue(LocaleInfo localeInfo)
Gets the default value of the component as a GDateTime.default boolean
IUIDateTime. setDate(java.time.LocalDate localDate, LocaleInfo localeInfo)
Sets the value as a local date.boolean
UIDateTime. setDate(java.time.LocalDate localDate, LocaleInfo localeInfo)
Sets the value as a local date.default boolean
IUIDateTime. setTime(java.time.LocalTime localTime, LocaleInfo localeInfo)
Sets the value as a local time.boolean
IUIDateTime. setValue(GDateTime value, LocaleInfo localeInfo)
Sets the date-time value.boolean
UIDateTime. setValue(GDateTime value, LocaleInfo localeInfo)
Sets the date-time value.Uses of LocaleInfo in com.iizix.prop.ui.mlist
Methods in com.iizix.prop.ui.mlist with parameters of type LocaleInfo Modifier and Type Method Description boolean
MLDateTime. setValue(GDateTime value, LocaleInfo localeInfo)
Sets the date-time value.Uses of LocaleInfo in com.iizix.prop.vs
Methods in com.iizix.prop.vs that return LocaleInfo Modifier and Type Method Description LocaleInfo
VSField. getLocaleInfo()
Gets the cached locale information for the session, or if not available caches the one from the environment.LocaleInfo
VSField. getLocaleInfo(LocaleInfo localeInfo)
Uses the localeInfo parameter as the locale information if non-null, otherwise gets the cached locale information for the session, or if not available caches the one from the environment.Methods in com.iizix.prop.vs with parameters of type LocaleInfo Modifier and Type Method Description KString
VSField. get_KString(LocaleInfo localeInfo)
Gets the value of this field as a KString with translation using the field actors.KString
VSField. get_KString(LocaleInfo localeInfo, boolean doTranslate)
Gets the value of this field as a KString with translation using the field actors depending on thedoTranslate
flag.KString
VSField. get_KString(LocaleInfo localeInfo, boolean doTranslate, GProp<?> trigger)
Gets the value of this field as a KString with translation and optional trigger property using the field actors depending on thedoTranslate
flag.KString
VSField. get_KString(LocaleInfo localeInfo, GProp<?> trigger)
Gets the value of this field as a KString with translation and optional trigger property using the field actors.java.lang.String
VSField. get_String(LocaleInfo localeInfo)
Gets the value of this field as a String with translation using the field actors.java.lang.String
VSField. get_String(LocaleInfo localeInfo, boolean doTranslate)
Gets the value of this field as a String with translation using the field actors depending on thedoTranslate
flag.java.lang.String
VSField. get_String(LocaleInfo localeInfo, boolean doTranslate, GProp<?> trigger)
Gets the value of this field as a String with translation and optional trigger property using the field actors depending on thedoTranslate
flag.java.lang.String
VSField. get_String(LocaleInfo localeInfo, GProp<?> trigger)
Gets the value of this field as a String with translation and optional trigger property using the field actors.LocaleInfo
VSField. getLocaleInfo(LocaleInfo localeInfo)
Uses the localeInfo parameter as the locale information if non-null, otherwise gets the cached locale information for the session, or if not available caches the one from the environment.java.lang.Object
VSField. getValue(LocaleInfo localeInfo, Value.Type type, boolean doTranslate, GProp<?> trigger)
Gets a value in the requested type with translation flag and no trigger property.boolean
VSField. setValue(LocaleInfo localeInfo, java.lang.Object value, boolean doTranslate, GProp<?> trigger)
Sets a value in generic type with possible translation and optional trigger property.Uses of LocaleInfo in com.iizix.server.gyro
Methods in com.iizix.server.gyro that return LocaleInfo Modifier and Type Method Description LocaleInfo
AppSessionGyro. getLocale()
Gets the local info class instance.LocaleInfo
ClientSessionGyro. getLocale()
Gets the local info class instance.LocaleInfo
ClientSessionGyro. setLocale(LocaleInfo locale)
Changes or sets the LocaleInfo for the environment.Methods in com.iizix.server.gyro with parameters of type LocaleInfo Modifier and Type Method Description LocaleInfo
ClientSessionGyro. setLocale(LocaleInfo locale)
Changes or sets the LocaleInfo for the environment.Uses of LocaleInfo in com.iizix.text
Methods in com.iizix.text that return LocaleInfo Modifier and Type Method Description LocaleInfo
ILocaleString. getLocale()
Gets the local info class instance.Methods in com.iizix.text with parameters of type LocaleInfo Modifier and Type Method Description KString
KString. format(LocaleInfo localeInfo, java.lang.Object... params)
Formats a String using curly brackets{}
as parameter or{param_index}
parameter whereparam_index
is an optional one-based index value, AND/OR the JavaString.format(Locale, String, Object...)
method using parameters in the form of%[flags][width]conversion
or%[argument_index$][flags][width]conversion
.KString
KString. format(IKStringInfoProvider provider, LocaleInfo localeInfo, java.lang.Object... params)
Formats a String using curly brackets{}
as parameter or{param_index}
parameter whereparam_index
is an optional one-based index value, AND/OR the JavaString.format(Locale, String, Object...)
method using parameters in the form of%[flags][width]conversion
or%[argument_index$][flags][width]conversion
.KString
KString. formatPLAIN(LocaleInfo localeInfo, java.lang.Object... params)
Formats a String using curly brackets{}
as parameter or{param_index}
parameter whereparam_index
is an optional one-based index value, AND/OR the JavaString.format(Locale, String, Object...)
method using parameters in the form of%[flags][width]conversion
or%[argument_index$][flags][width]conversion
.KString
KString. formatPLAIN(IKStringInfoProvider provider, LocaleInfo localeInfo, java.lang.Object... params)
Formats a String using curly brackets{}
as parameter or{param_index}
parameter whereparam_index
is an optional one-based index value, AND/OR the JavaString.format(Locale, String, Object...)
method using parameters in the form of%[flags][width]conversion
or%[argument_index$][flags][width]conversion
.Uses of LocaleInfo in com.iizix.value
Methods in com.iizix.value with parameters of type LocaleInfo Modifier and Type Method Description long
BinaryValue. asLong(byte[] value, LocaleInfo localeInfo)
Returns a long value if possible.long
BooleanValue. asLong(java.lang.Boolean value, LocaleInfo localeInfo)
Returns a long value if possible.long
DurationValue. asLong(java.time.Duration value, LocaleInfo localeInfo)
Returns a long value if possible.long
IValueObject. asLong(TYPE value, LocaleInfo localeInfo)
Returns a long value if possible.long
KStringValue. asLong(KString value, LocaleInfo localeInfo)
Returns a long value if possible.long
LocalDateTimeValue. asLong(java.time.LocalDateTime value, LocaleInfo localeInfo)
Returns a long value if possible.long
LocalDateValue. asLong(java.time.LocalDate value, LocaleInfo localeInfo)
Returns a long value if possible.long
LocalTimeValue. asLong(java.time.LocalTime value, LocaleInfo localeInfo)
Returns a long value if possible.long
MonthDayValue. asLong(java.time.MonthDay value, LocaleInfo localeInfo)
Returns a long value if possible.long
NumberValue. asLong(TYPE value, LocaleInfo localeInfo)
Returns a long value if possible.long
OffsetDateTimeValue. asLong(java.time.OffsetDateTime value, LocaleInfo localeInfo)
Returns a long value if possible.long
OffsetTimeValue. asLong(java.time.OffsetTime value, LocaleInfo localeInfo)
Returns a long value if possible.long
PeriodValue. asLong(java.time.Period value, LocaleInfo localeInfo)
Returns a long value if possible.long
StringValue. asLong(java.lang.String value, LocaleInfo localeInfo)
Returns a long value if possible.long
XMLDurationValue. asLong(javax.xml.datatype.Duration value, LocaleInfo localeInfo)
Returns a long value if possible.long
XMLGregorianCalendarValue. asLong(ImmutableXMLGregorianCalendar value, LocaleInfo localeInfo)
Returns a long value if possible.long
YearMonthValue. asLong(java.time.YearMonth value, LocaleInfo localeInfo)
Returns a long value if possible.long
YearValue. asLong(java.time.Year value, LocaleInfo localeInfo)
Returns a long value if possible.long
ZonedDateTimeValue. asLong(java.time.ZonedDateTime value, LocaleInfo localeInfo)
Returns a long value if possible.default long
IValueObject. asLongCast(java.lang.Object value, LocaleInfo localeInfo)
Returns a long value if possible.java.math.BigDecimal
BigDecimalValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.math.BigInteger
BigIntegerValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.byte[]
BinaryValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.lang.Boolean
BooleanValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.lang.Byte
ByteValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.lang.Double
DoubleValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.Duration
DurationValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.lang.Float
FloatValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.lang.Integer
IntegerValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.TYPE
IValueObject. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.KString
KStringValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.LocalDateTime
LocalDateTimeValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.LocalDate
LocalDateValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.LocalTime
LocalTimeValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.lang.Long
LongValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.MonthDay
MonthDayValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.OffsetDateTime
OffsetDateTimeValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.OffsetTime
OffsetTimeValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.Period
PeriodValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.lang.Short
ShortValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.lang.String
StringValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.javax.xml.datatype.Duration
XMLDurationValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.ImmutableXMLGregorianCalendar
XMLGregorianCalendarValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.YearMonth
YearMonthValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.Year
YearValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.time.ZonedDateTime
ZonedDateTimeValue. convert(java.lang.Object value, Value.Type oldType, LocaleInfo localeInfo)
Converts a value from another type.java.text.Format
BinaryValue. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.java.text.Format
BooleanValue. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.java.text.Format
IValueObject. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.java.text.Format
KStringValue. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.java.text.NumberFormat
NumberValue. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.java.text.Format
StringValue. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.java.text.Format
TermporalAccessorValue. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.java.text.Format
TermporalAmountValue. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.java.text.Format
XMLGregorianCalendarValue. getFormatter(java.lang.String pattern, LocaleInfo localeInfo)
Returns the Formatter for a pattern.byte[]
BinaryValue. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.java.lang.Boolean
BooleanValue. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.TYPE
IValueObject. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.KString
KStringValue. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.TYPE
NumberValue. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.java.lang.String
StringValue. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.TYPE
TermporalAccessorValue. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.TYPE
TermporalAmountValue. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.ImmutableXMLGregorianCalendar
XMLGregorianCalendarValue. parse(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Creates a Value object from a String using a specified pattern and locale.java.lang.String
BinaryValue. toString(byte[] value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
BooleanValue. toString(java.lang.Boolean value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
IValueObject. toString(TYPE value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
KStringValue. toString(KString value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
LocalDateTimeValue. toString(java.time.LocalDateTime value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
NumberValue. toString(TYPE value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
StringValue. toString(java.lang.String value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
TermporalAccessorValue. toString(TYPE value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
TermporalAmountValue. toString(TYPE value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.java.lang.String
XMLGregorianCalendarValue. toString(ImmutableXMLGregorianCalendar value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.default java.lang.String
IValueObject. toStringCast(java.lang.Object value, java.lang.String pattern, LocaleInfo localeInfo)
Formats the value to a String.