Interface LocaleContext

    • Method Detail

      • getLocale

        default Locale getLocale()
        Returns:
        the currently configured Locale
      • getTemporalConfig

        TemporalConfig getTemporalConfig()
        Returns:
        the currently configured TemporalConfig (from the EvalConfig)
      • createDateFormatter

        DateTimeFormatter createDateFormatter​(String formatStr)
        Returns:
        an appropriately configured (i.e. locale) DateTimeFormatter for the given format.
      • getZoneId

        ZoneId getZoneId()
        Returns:
        the currently configured ZoneId
      • getNumericConfig

        NumericConfig getNumericConfig()
        Returns:
        the currently configured NumericConfig (from the EvalConfig)
      • createDecimalFormat

        DecimalFormat createDecimalFormat​(String formatStr)
        Returns:
        an appropriately configured (i.e. DecimalFormatSymbols) DecimalFormat for the given format.