Uses of Class
com.ibm.icu.impl.number.MacroProps
Packages that use MacroProps
-
Uses of MacroProps in com.ibm.icu.impl.number
Methods in com.ibm.icu.impl.number with parameters of type MacroPropsModifier and TypeMethodDescriptionvoid
MacroProps.fallback
(MacroProps fallback) Copies values from fallback into this instance if they are null in this instance. -
Uses of MacroProps in com.ibm.icu.number
Fields in com.ibm.icu.number declared as MacroPropsMethods in com.ibm.icu.number that return MacroPropsModifier and TypeMethodDescriptionstatic MacroProps
NumberPropertyMapper.oldToNew
(DecimalFormatProperties properties, DecimalFormatSymbols symbols, DecimalFormatProperties exportedProperties) Creates a newMacroProps
object based on the content of aDecimalFormatProperties
object.private static MacroProps
NumberSkeletonImpl.parseSkeleton
(String skeletonString) Converts from a skeleton string to a MacroProps.(package private) MacroProps
NumberFormatterSettings.resolve()
Methods in com.ibm.icu.number with parameters of type MacroPropsModifier and TypeMethodDescriptionprivate static boolean
NumberSkeletonImpl.GeneratorHelpers.decimal
(MacroProps macros, StringBuilder sb) static MicroProps
NumberFormatterImpl.formatStatic
(MacroProps macros, DecimalQuantity inValue, FormattedStringBuilder outString) Builds and evaluates an "unsafe" MicroPropsGenerator, which is cheaper but can be used only once.static String
NumberSkeletonImpl.generate
(MacroProps macros) Create a skeleton string corresponding to the given NumberFormatter.private static void
NumberSkeletonImpl.generateSkeleton
(MacroProps macros, StringBuilder sb) Main skeleton generator function.static int
NumberFormatterImpl.getPrefixSuffixStatic
(MacroProps macros, byte signum, StandardPlural plural, FormattedStringBuilder output) Prints only the prefix and suffix; used for DecimalFormat getters.private static boolean
NumberSkeletonImpl.GeneratorHelpers.grouping
(MacroProps macros, StringBuilder sb) private static boolean
NumberSkeletonImpl.GeneratorHelpers.integerWidth
(MacroProps macros, StringBuilder sb) NumberFormatterSettings.macros
(MacroProps macros) Deprecated.ICU 60 This API is ICU internal only.private static MicroPropsGenerator
NumberFormatterImpl.macrosToMicroGenerator
(MacroProps macros, MicroProps micros, boolean safe) Synthesizes the MacroProps into a MicroPropsGenerator.private static boolean
NumberSkeletonImpl.GeneratorHelpers.notation
(MacroProps macros, StringBuilder sb) private static void
NumberSkeletonImpl.BlueprintHelpers.parseCurrencyOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseDigitsStem
(StringSegment segment, MacroProps macros) private static boolean
NumberSkeletonImpl.BlueprintHelpers.parseExponentSignOption
(StringSegment segment, MacroProps macros) private static boolean
NumberSkeletonImpl.BlueprintHelpers.parseExponentWidthOption
(StringSegment segment, MacroProps macros) private static boolean
NumberSkeletonImpl.BlueprintHelpers.parseFracSigOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseFractionStem
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseIdentifierUnitOption
(StringSegment segment, MacroProps macros) Parses unit identifiers like "meter-per-second" and "foot-and-inch", as specified via a "unit/" concise skeleton.private static void
NumberSkeletonImpl.BlueprintHelpers.parseIncrementOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseIntegerStem
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseIntegerWidthOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseMeasurePerUnitOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseMeasureUnitOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseNumberingSystemOption
(StringSegment segment, MacroProps macros) private static NumberSkeletonImpl.ParseState
NumberSkeletonImpl.parseOption
(NumberSkeletonImpl.ParseState stem, StringSegment segment, MacroProps macros) Given that the current segment represents an option, parse it and save the result.private static void
NumberSkeletonImpl.BlueprintHelpers.parseScaleOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseScientificStem
(StringSegment segment, MacroProps macros) private static NumberSkeletonImpl.ParseState
NumberSkeletonImpl.parseStem
(StringSegment segment, CharsTrie stemTrie, MacroProps macros) Given that the current segment represents a stem, parse it and save the result.private static boolean
NumberSkeletonImpl.BlueprintHelpers.parseTrailingZeroOption
(StringSegment segment, MacroProps macros) private static void
NumberSkeletonImpl.BlueprintHelpers.parseUnitUsageOption
(StringSegment segment, MacroProps macros) private static boolean
NumberSkeletonImpl.GeneratorHelpers.precision
(MacroProps macros, StringBuilder sb) private static MicroProps
NumberFormatterImpl.preProcessUnsafe
(MacroProps macros, DecimalQuantity inValue) private static boolean
NumberSkeletonImpl.GeneratorHelpers.roundingMode
(MacroProps macros, StringBuilder sb) private static boolean
NumberSkeletonImpl.GeneratorHelpers.scale
(MacroProps macros, StringBuilder sb) private static boolean
NumberSkeletonImpl.GeneratorHelpers.sign
(MacroProps macros, StringBuilder sb) private static boolean
NumberSkeletonImpl.GeneratorHelpers.symbols
(MacroProps macros, StringBuilder sb) private static boolean
NumberSkeletonImpl.GeneratorHelpers.unit
(MacroProps macros, StringBuilder sb) private static boolean
NumberSkeletonImpl.GeneratorHelpers.unitWidth
(MacroProps macros, StringBuilder sb) private static boolean
NumberSkeletonImpl.GeneratorHelpers.usage
(MacroProps macros, StringBuilder sb) Constructors in com.ibm.icu.number with parameters of type MacroPropsModifierConstructorDescriptionNumberFormatterImpl
(MacroProps macros) Builds a "safe" MicroPropsGenerator, which is thread-safe and can be used repeatedly.