Package-level declarations
Types
Interface for parsing and formatting a KalugaDate from/to a String.
Style used for formatting a KalugaDate to and from a String
Modifying flags for a Formattable that modify the output
Interface that adds support for an object to be formatted by StringFormatter.
Default implementation of BaseDateFormatter
Default implementation of BaseDateFormatter
Default implementation of BaseDateFormatter
Default implementation of BaseDateFormatter
Default implementation of BaseDateFormatter
Default implementation of BaseDateFormatter backed by the ECMAScript Intl.DateTimeFormat API for style-based formatting and the luxon library for custom pattern formatting and parsing. Shared by the JS family (js + wasmJs).
Default implementation of BaseNumberFormatter
Default implementation of BaseNumberFormatter
Default implementation of BaseNumberFormatter
Default implementation of BaseNumberFormatter
Default implementation of BaseNumberFormatter
Default implementation of BaseNumberFormatter backed by the ECMAScript Intl.NumberFormat API, shared by the JS family (js + wasmJs) via typed Intl externals.
Rounding mode applied when rounding aa given Number while formatting
Formats a given String using a printf-style format strings. Supports formats for Number, String, Char, Boolean, and com.splendo.kaluga.base.utils.KalugaDate. Custom formatting is supported by implementing Formattable. Flags, precision and width are supported by this formatter as well. Formatting will adjust for a provided KalugaLocale. May throw a StringFormatterException if the incorrect format is applied.
List of exceptions that may be thrown by a StringFormatter.
Properties
Functions
Creates a KalugaDateFormatter that only formats the date components of a KalugaDate
Creates a KalugaDateFormatter that formats both date and time components of a KalugaDate
Creates a fixed KalugaDateFormatter using a custom Date format pattern, localized by the KalugaLocale.enUsPosix. Use this to ensure that displaying time in 12 or 24 hour format is not overridden by the user.
Creates a KalugaDateFormatter that formats time according to the ISo 8601 format.
Converts a String to its lower cased variant based on a given KalugaLocale
Converts a String to its lower cased variant based on a given KalugaLocale
Converts a String to its lower cased variant based on a given KalugaLocale
Converts a String to its lower cased variant based on a given KalugaLocale
Converts a String to its lower cased variant based on a given KalugaLocale, backed by JavaScript's String.prototype.toLocaleLowerCase (applies locale-specific casing, e.g. Turkish dotted/dotless "I").
Converts a String to its upper cased variant based on a given KalugaLocale
Converts a String to its upper cased variant based on a given KalugaLocale
Converts a String to its upper cased variant based on a given KalugaLocale
Converts a String to its upper cased variant based on a given KalugaLocale
Converts a String to its upper cased variant based on a given KalugaLocale, backed by JavaScript's String.prototype.toLocaleUpperCase.