getHourCycle
Return the user's preference of the hour cycle which is from getDefault. The returned result is resolved and bases on the Locale#getDefault(Locale.Category)
. It is one of the strings defined in {@see HourCycle}, e.g. HourCycle#H11
.
Return the hour cycle setting of the inputted Locale. The returned result is resolved and based on the input Locale
. It is one of the strings defined in {@see HourCycle}, e.g. HourCycle#H11
.
Return the user's preference of the hour cycle which is from getDefault, e.g. HourCycle#H11
.
Return
HourCycle.HourCycleTypes If the malformed hour cycle format was specified in the hour cycle subtag, e.g. en-US-u-hc-h32, this function returns empty string, i.e. HourCycle#DEFAULT
.
Parameters
If the Locale#getDefault(Locale.Category)
contains hour cycle subtag, this argument is ignored. If the Locale#getDefault(Locale.Category)
doesn't contain hour cycle subtag and the resolved argument is true, this function tries to find the default hour cycle for the Locale#getDefault(Locale.Category)
. If the Locale#getDefault(Locale.Category)
doesn't contain hour cycle subtag and the resolved argument is false, this function returns empty string , i.e. HourCycle#DEFAULT
.
Return the hour cycle setting of the inputted Locale. E.g. "en-US-u-hc-h23".
Return
HourCycle.HourCycleTypes If the malformed hour cycle format was specified in the hour cycle subtag, e.g. en-US-u-hc-h32, this function returns empty string, i.e. HourCycle#DEFAULT
.
Parameters
The Locale
to get the hour cycle.
If the given Locale
contains hour cycle subtag, this argument is ignored. If the given Locale
doesn't contain hour cycle subtag and the resolved argument is true, this function tries to find the default hour cycle for the given Locale
. If the given Locale
doesn't contain hour cycle subtag and the resolved argument is false, this function return empty string, i.e. HourCycle#DEFAULT
.