Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getDecimalFormatSymbols (0.12 sec)

  1. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

            final DecimalFormatSymbols symbol = getDecimalFormatSymbols(locale);
            return Character.toString(symbol.getDecimalSeparator());
        }
    
        private static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) {
            DecimalFormatSymbols symbol;
            if (locale != null) {
                symbol = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(locale);
            } else {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java

         */
        public static DecimalFormatSymbols getDecimalFormatSymbols() {
            return getDecimalFormatSymbols(LocaleUtil.getDefault());
        }
    
        /**
         * {@link DecimalFormatSymbols}を返します。
         *
         * @param locale
         *            ロケール。{@literal null}であってはいけません
         * @return {@link DecimalFormatSymbols}
         */
        public static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetDecimalFormatSymbols() throws Exception {
            final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(Locale.GERMAN);
            System.out.println("DecimalSeparator:" + symbols.getDecimalSeparator());
            System.out.println("GroupingSeparator:" + symbols.getGroupingSeparator());
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

            assertArgumentNotNull("locale", locale);
    
            if (s == null) {
                return null;
            }
            final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(locale);
            final char decimalSep = symbols.getDecimalSeparator();
            final char groupingSep = symbols.getGroupingSeparator();
            final StringBuilder buf = new StringBuilder(20);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top