docs: public static void initGlobals()
      {
          if (gDateFormat == null)
          {   // NOTE: You MUST synchronize before using any of these
              // For dates and times, synchronize on the gCalendar
              gCalendar = Calendar.getInstance();
  
              gDateFormat = DateFormat.getDateInstance(DateFormat.MEDIUM);
              gTimeFormat = DateFormat.getTimeInstance(DateFormat.SHORT);
              gLongTimeFormat = DateFormat.getTimeInstance(DateFormat.MEDIUM);
              gDateTimeFormat = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT);
              gLongDateTimeFormat = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM);
              gDateShortFormat = DateFormat.getDateInstance(DateFormat.SHORT);
              gDateShortTimeFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
              gGMTDateTimeFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", Locale.US);
  
              gDateSqlFormat = gDateShortFormat;  // By default use these formats - Change if different
              gTimeSqlFormat = gTimeFormat;
              gDateTimeSqlFormat = gDateShortTimeFormat;
              // For all of these, synchronize on the object you are using
              gIntegerFormat = NumberFormat.getInstance();
              gIntegerFormat.setParseIntegerOnly(true);
  
              gCurrencyFormat = NumberFormat.getCurrencyInstance();
              
              gNumberFormat = NumberFormat.getInstance();
              gNumberFormat.setParseIntegerOnly(false);
              gNumberFormat.setMinimumFractionDigits(2);
              gNumberFormat.setMaximumFractionDigits(2);
              if (gNumberFormat instanceof DecimalFormat)
              {
                  gchDot = ((DecimalFormat)gNumberFormat).getDecimalFormatSymbols().getDecimalSeparator();
                  gchMinus = ((DecimalFormat)gNumberFormat).getDecimalFormatSymbols().getMinusSign();
              }
  
              gPercentFormat = NumberFormat.getPercentInstance();
          }
      }