Class RegularGroupFormatter


  • public class RegularGroupFormatter
    extends NumericGroupFormatter
    A RegularGroupFormatter is a NumericGroupFormatter that inserts a separator at constant intervals through a number: for example, a comma after every three digits counting from the right.
    • Constructor Detail

      • RegularGroupFormatter

        public RegularGroupFormatter​(int grpSize,
                                     String grpSep,
                                     UnicodeString adjustedPicture)
        Create a RegularGroupFormatter
        Parameters:
        grpSize - the grouping size. If zero, no grouping separators are inserted
        grpSep - the grouping separator (normally but not necessarily a single character)
        adjustedPicture - The picture, adjusted to conform to the rules of the xsl:number function, which means the picture supplied to format-integer minus any modifiers, and minus grouping separators and optional-digit signs