Uses of Class
com.iizix.LocaleInfo
Package
Description
Uses of LocaleInfo in com.iizix
Modifier and TypeFieldDescriptionstatic final LocaleInfo
LocaleInfo.DEFAULT_LOCALEINFO
The system default locale info.static final LocaleInfo
LocaleInfo.ENGLISH_LOCALEINFO
The Locale.ENGLISH based locale info.Modifier and TypeMethodDescriptionLocaleInfo.clone()
Clones the instance.static LocaleInfo
LocaleInfo.getCurrent
(boolean logDefault) Gets the current LocalInfo for the calling thread.static LocaleInfo
LocaleInfo.getLocaleInfo
(String languageCode) Creates or gets a cached copy of a locale for a language code.static LocaleInfo
LocaleInfo.getLocaleInfo
(String country, String language, String variant) Creates or gets a cached copy of a locale for a language.static LocaleInfo
LocaleInfo.getLocaleInfo
(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.Modifier and TypeMethodDescriptionValue.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 String
Utilities.format
(LocaleInfo localeInfo, String string, 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 String
Value.getString
(Object value, Value.Type type, String pattern, LocaleInfo localeInfo) Gets the value as a String with the specified pattern formatter string.Value.getString
(String pattern, LocaleInfo localeInfo) Gets the value as a String with the specified pattern formatter string.static Value
Value.ofType
(Object value, Value.Type targetType, LocaleInfo localeInfo) Tries to create aValue
instance forced to the specified type.static Value
Value.parseValue
(String value, Value.Type type, 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.Value.toLocalDateTime
(LocaleInfo localeInfo) Converts this Value and returns it as aLocalDateTime
using the locale information specified.Value.toOffsetDateTime
(LocaleInfo localeInfo) Converts this Value and returns it as anOffsetDateTime
using the locale information specified.Value.toOffsetTime
(LocaleInfo localeInfo) Converts this Value and returns it as anOffsetTime
using the locale information specified.Value.toXMLGregorianCalendar
(LocaleInfo localeInfo) Converts this Value and returns it as anImmutableXMLGregorianCalendar
using the locale information specified.Value.toZonedDateTime
(LocaleInfo localeInfo) Converts this Value and returns it as aZonedDateTime
using the locale information specified.Uses of LocaleInfo in com.iizix.gyro
Modifier and TypeMethodDescriptionIClientSessionGyro.setLocale
(LocaleInfo locale) Changes or sets the LocaleInfo for the environment.Modifier and TypeMethodDescriptionIClientSessionGyro.setLocale
(LocaleInfo locale) Changes or sets the LocaleInfo for the environment.Uses of LocaleInfo in com.iizix.joda
Modifier and TypeMethodDescriptionstatic Format
DurationFormatPattern.getPeriodFormatter
(String pattern, LocaleInfo localeInfo) Gets the Joda period formatter for a pattern.Uses of LocaleInfo in com.iizix.prop
Modifier and TypeMethodDescriptionEnvProps.getLocale()
Gets the client local info class instance.EnvProps.setLocale
(LocaleInfo locale) Changes or sets the LocaleInfo for the environment.Modifier and TypeMethodDescriptionObject[]
References.Result.getFormatterParams
(ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the parameters used to format the String.References.Result.getFormatterString
(ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the String used to format the locale string.static GDateTime
GDateTime.now
(GDateTime.Type type, LocaleInfo localeInfo) Create a new GDateTime with the current date and/or time for a type.EnvProps.setLocale
(LocaleInfo locale) Changes or sets the LocaleInfo for the environment.GDateTime.toOffsetDateTime
(LocaleInfo localeInfo) Gets the date as a OffsetDateTime with potential forced conversion.GDateTime.toOffsetTime
(LocaleInfo localeInfo) Gets the current value as a OffsetTime with potential forced conversion.GDateTime.toType
(GDateTime.Type type, LocaleInfo localeInfo) Converts a date/time value to another type.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
Modifier and TypeMethodDescriptiondefault GDateTime
IUIDateTime.getDefaultValue
(LocaleInfo localeInfo) Gets the default value of the component as a GDateTime.default boolean
IUIDateTime.setDate
(LocalDate localDate, LocaleInfo localeInfo) Sets the value as a local date.boolean
UIDateTime.setDate
(LocalDate localDate, LocaleInfo localeInfo) Sets the value as a local date.default boolean
IUIDateTime.setTime
(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
Modifier and TypeMethodDescriptionboolean
MLDateTime.setValue
(GDateTime value, LocaleInfo localeInfo) Sets the date-time value.Uses of LocaleInfo in com.iizix.prop.vs
Modifier and TypeMethodDescriptionVSField.getLocaleInfo()
Gets the cached locale information for the session, or if not available caches the one from the environment.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.Modifier and TypeMethodDescriptionVSField.get_KString
(LocaleInfo localeInfo) Gets the value of this field as a KString with translation using the field actors.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.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.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.VSField.get_String
(LocaleInfo localeInfo) Gets the value of this field as a String with translation using the field actors.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.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.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.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.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, 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
Modifier and TypeMethodDescriptionAppSessionGyro.getLocale()
Gets the local info class instance.ClientSessionGyro.getLocale()
Gets the local info class instance.ClientSessionGyro.setLocale
(LocaleInfo locale) Changes or sets the LocaleInfo for the environment.Modifier and TypeMethodDescriptionClientSessionGyro.setLocale
(LocaleInfo locale) Changes or sets the LocaleInfo for the environment.Uses of LocaleInfo in com.iizix.text
Modifier and TypeMethodDescriptionKString.format
(LocaleInfo localeInfo, 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.format
(IKStringInfoProvider provider, LocaleInfo localeInfo, 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.formatPLAIN
(LocaleInfo localeInfo, 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.formatPLAIN
(IKStringInfoProvider provider, LocaleInfo localeInfo, 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
.default KString
ILocaleKStringFormatter.getFormatterKString
(ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the KString used to format the locale string.Object[]
ILocaleStringFormatter.getFormatterParams
(ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the parameters used to format the String.ILocaleStringFormatter.getFormatterString
(ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets the String used to format the locale string.default KString
ILocaleKStringFormatter.getMessageLocaleKString
(LocaleInfo localeInfo) Gets a formatted HTML or PLAIN KString with the appropriate parameters using the formatting described below.default KString
ILocaleKStringFormatter.getMessageLocaleKString
(IKStringInfoProvider provider, LocaleInfo localeInfo) Gets a formatted HTML or PLAIN KString with the appropriate parameters using the formatting described below.default KString
ILocaleKStringFormatter.getMessageLocaleKString
(ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets a formatted HTML or PLAIN KString with the appropriate parameters using the formatting described below.default KString
ILocaleKStringFormatter.getMessageLocalePlainKString
(LocaleInfo localeInfo) Gets a formatted PLAIN KString with the appropriate parameters using the formatting described below.default KString
ILocaleKStringFormatter.getMessageLocalePlainKString
(IKStringInfoProvider provider, LocaleInfo localeInfo) Gets a formatted PLAIN KString with the appropriate parameters using the formatting described below.default KString
ILocaleKStringFormatter.getMessageLocalePlainKString
(ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets a formatted PLAIN KString with the appropriate parameters using the formatting described below.default String
ILocaleStringFormatter.getMessageLocaleString
(LocaleInfo localeInfo) Gets a formatted String with the appropriate parameters using the formatting described below.default String
ILocaleStringFormatter.getMessageLocaleString
(ILocaleString localeString, LocaleInfo localeInfo) Gets a formatted String with the appropriate parameters using the formatting described below.default String
ILocaleStringFormatter.getMessageLocaleString
(ILocaleString localeString, IKStringInfoProvider provider, LocaleInfo localeInfo) Gets a formatted String with the appropriate parameters using the formatting described below.Uses of LocaleInfo in com.iizix.value
Modifier and TypeMethodDescriptionlong
BinaryValue.asLong
(byte[] value, LocaleInfo localeInfo) Returns a long value if possible.long
BooleanValue.asLong
(Boolean value, LocaleInfo localeInfo) Returns a long value if possible.long
DurationValue.asLong
(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
(LocalDateTime value, LocaleInfo localeInfo) Returns a long value if possible.long
LocalDateValue.asLong
(LocalDate value, LocaleInfo localeInfo) Returns a long value if possible.long
LocalTimeValue.asLong
(LocalTime value, LocaleInfo localeInfo) Returns a long value if possible.long
MonthDayValue.asLong
(MonthDay value, LocaleInfo localeInfo) Returns a long value if possible.final long
NumberValue.asLong
(TYPE value, LocaleInfo localeInfo) Returns a long value if possible.long
OffsetDateTimeValue.asLong
(OffsetDateTime value, LocaleInfo localeInfo) Returns a long value if possible.long
OffsetTimeValue.asLong
(OffsetTime value, LocaleInfo localeInfo) Returns a long value if possible.long
PeriodValue.asLong
(Period value, LocaleInfo localeInfo) Returns a long value if possible.long
StringValue.asLong
(String value, LocaleInfo localeInfo) Returns a long value if possible.long
XMLDurationValue.asLong
(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
(YearMonth value, LocaleInfo localeInfo) Returns a long value if possible.long
YearValue.asLong
(Year value, LocaleInfo localeInfo) Returns a long value if possible.long
ZonedDateTimeValue.asLong
(ZonedDateTime value, LocaleInfo localeInfo) Returns a long value if possible.default long
IValueObject.asLongCast
(Object value, LocaleInfo localeInfo) Returns a long value if possible.BigDecimalValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.BigIntegerValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.byte[]
BinaryValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.BooleanValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.ByteValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.DoubleValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.DurationValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.FloatValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.IntegerValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.IValueObject.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.KStringValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.LocalDateTimeValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.LocalDateValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.LocalTimeValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.LongValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.MonthDayValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.OffsetDateTimeValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.OffsetTimeValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.PeriodValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.ShortValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.StringValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.XMLDurationValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.XMLGregorianCalendarValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.YearMonthValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.YearValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.ZonedDateTimeValue.convert
(Object value, Value.Type oldType, LocaleInfo localeInfo) Converts a value from another type.BinaryValue.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.BooleanValue.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.IValueObject.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.KStringValue.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.final NumberFormat
NumberValue.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.StringValue.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.final Format
TermporalAccessorValue.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.final Format
TermporalAmountValue.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.XMLGregorianCalendarValue.getFormatter
(String pattern, LocaleInfo localeInfo) Returns the Formatter for a pattern.byte[]
BinaryValue.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.BooleanValue.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.IValueObject.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.KStringValue.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.final TYPE
NumberValue.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.StringValue.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.final TYPE
TermporalAccessorValue.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.final TYPE
TermporalAmountValue.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.XMLGregorianCalendarValue.parse
(String value, String pattern, LocaleInfo localeInfo) Creates a Value object from a String using a specified pattern and locale.BinaryValue.toString
(byte[] value, String pattern, LocaleInfo localeInfo) Formats the value to a String.BooleanValue.toString
(Boolean value, String pattern, LocaleInfo localeInfo) Formats the value to a String.IValueObject.toString
(TYPE value, String pattern, LocaleInfo localeInfo) Formats the value to a String.KStringValue.toString
(KString value, String pattern, LocaleInfo localeInfo) Formats the value to a String.LocalDateTimeValue.toString
(LocalDateTime value, String pattern, LocaleInfo localeInfo) Formats the value to a String.final String
NumberValue.toString
(TYPE value, String pattern, LocaleInfo localeInfo) Formats the value to a String.StringValue.toString
(String value, String pattern, LocaleInfo localeInfo) Formats the value to a String.TermporalAccessorValue.toString
(TYPE value, String pattern, LocaleInfo localeInfo) Formats the value to a String.final String
TermporalAmountValue.toString
(TYPE value, String pattern, LocaleInfo localeInfo) Formats the value to a String.XMLGregorianCalendarValue.toString
(ImmutableXMLGregorianCalendar value, String pattern, LocaleInfo localeInfo) Formats the value to a String.default String
IValueObject.toStringCast
(Object value, String pattern, LocaleInfo localeInfo) Formats the value to a String.