Package ai.tock.translator
Class I18nKt
-
- All Implemented Interfaces:
public final class I18nKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static UserInterfaceTypedefaultUserInterfaceprivate final static TranslatedSequenceraw
-
Method Summary
Modifier and Type Method Description final UserInterfaceTypegetDefaultUserInterface()final TranslatedSequencegetRaw()final static DateTemplateby(TemporalAccessor $self, String dateFormatPattern)Format a TemporalAccessor this the specified dateFormatPattern used to create a DateTimeFormatter. final static DateTemplateby(TemporalAccessor $self, DateTimeFormatter formatter)Format a TemporalAccessor this the specified DateTimeFormatter. final static DateTemplateby(TemporalAccessor $self, DateTimeFormatterProvider formatterProvider)Format a TemporalAccessor this the specified DateTimeFormatterProvider. final static CharSequenceformatWith(TemporalAccessor $self, DateTimeFormatter formatter, Locale locale)To immediately format this date with the given locale. final static CharSequenceformatWith(TemporalAccessor $self, DateTimeFormatterProvider formatterProvider, Locale locale)To immediately format this date with the given locale. final static BooleanisSSML(CharSequence $self)Is this char sequence containing SSML? final static List<CharSequence>splitToCharSequence(CharSequence $self, String delimiters, Boolean ignoreCase, Integer limit)Split a char sequence to a list of char sequence. -
-
Method Detail
-
getDefaultUserInterface
final UserInterfaceType getDefaultUserInterface()
-
getRaw
final TranslatedSequence getRaw()
-
by
final static DateTemplate by(TemporalAccessor $self, String dateFormatPattern)
Format a TemporalAccessor this the specified dateFormatPattern used to create a DateTimeFormatter.
-
by
final static DateTemplate by(TemporalAccessor $self, DateTimeFormatter formatter)
Format a TemporalAccessor this the specified DateTimeFormatter.
-
by
final static DateTemplate by(TemporalAccessor $self, DateTimeFormatterProvider formatterProvider)
Format a TemporalAccessor this the specified DateTimeFormatterProvider.
-
formatWith
final static CharSequence formatWith(TemporalAccessor $self, DateTimeFormatter formatter, Locale locale)
To immediately format this date with the given locale.
-
formatWith
final static CharSequence formatWith(TemporalAccessor $self, DateTimeFormatterProvider formatterProvider, Locale locale)
To immediately format this date with the given locale.
-
isSSML
final static Boolean isSSML(CharSequence $self)
Is this char sequence containing SSML?
-
splitToCharSequence
final static List<CharSequence> splitToCharSequence(CharSequence $self, String delimiters, Boolean ignoreCase, Integer limit)
Split a char sequence to a list of char sequence.
-
-
-
-