Static ReadonlydefaultThe default number of digits to use for formatting numbers and vectors.
StaticemojiA map from text based smiley to emoji.
StaticknownA set of all emojis registered manually with RSX.
StaticconvertStaticconvertStaticdecodeHTMLEntitiesStaticescapeHTMLStaticformatStaticformatStaticformatFormats the given date object using relative dates.
The formatting is done using the following logic:
If the the in the past:
If the the in the future:
The date to be formatted.
Optionalreference: DateThe date to use as reference. Optional, and if not set will fallback to the current date.
OptionalupperCase: booleanTrue to uppercase the first character.
StaticisStaticisStaticstripHTMLTagsStaticstrip
The FormattingUtility class provides utility functions for formatting text.