Uses of Class
com.ibm.icu.text.RelativeDateTimeFormatter.RelativeDateTimeUnit
-
Packages that use RelativeDateTimeFormatter.RelativeDateTimeUnit Package Description com.ibm.icu.text -
-
Uses of RelativeDateTimeFormatter.RelativeDateTimeUnit in com.ibm.icu.text
Methods in com.ibm.icu.text that return RelativeDateTimeFormatter.RelativeDateTimeUnit Modifier and Type Method Description static RelativeDateTimeFormatter.RelativeDateTimeUnitRelativeDateTimeFormatter.RelativeDateTimeUnit. valueOf(String name)Returns the enum constant of this type with the specified name.static RelativeDateTimeFormatter.RelativeDateTimeUnit[]RelativeDateTimeFormatter.RelativeDateTimeUnit. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.ibm.icu.text with parameters of type RelativeDateTimeFormatter.RelativeDateTimeUnit Modifier and Type Method Description StringRelativeDateTimeFormatter. format(double offset, RelativeDateTimeFormatter.RelativeDateTimeUnit unit)Format a combination of RelativeDateTimeUnit and numeric offset using a text style if possible, e.g.StringRelativeDateTimeFormatter. formatNumeric(double offset, RelativeDateTimeFormatter.RelativeDateTimeUnit unit)Format a combination of RelativeDateTimeUnit and numeric offset using a numeric style, e.g. "1 week ago", "in 1 week", "5 weeks ago", "in 5 weeks".RelativeDateTimeFormatter.FormattedRelativeDateTimeRelativeDateTimeFormatter. formatNumericToValue(double offset, RelativeDateTimeFormatter.RelativeDateTimeUnit unit)Format a combination of RelativeDateTimeUnit and numeric offset using a numeric style, e.g. "1 week ago", "in 1 week", "5 weeks ago", "in 5 weeks".RelativeDateTimeFormatter.FormattedRelativeDateTimeRelativeDateTimeFormatter. formatToValue(double offset, RelativeDateTimeFormatter.RelativeDateTimeUnit unit)Format a combination of RelativeDateTimeUnit and numeric offset using a text style if possible, e.g.
-