/** * Get the maximum length of the text returned by this field. * * @param locale the locale to use * @return the maximum textual length */ public int getMaximumTextLength(Locale locale) { return GJLocaleSymbols.forLocale(locale).getDayOfWeekMaxTextLength(); }
/** * Get the maximum length of the abbreviated text returned by this field. * * @param locale the locale to use * @return the maximum abbreviated textual length */ public int getMaximumShortTextLength(Locale locale) { return GJLocaleSymbols.forLocale(locale).getDayOfWeekMaxShortTextLength(); }
/** * Get the textual value of the specified time instant. * * @param fieldValue the field value to query * @param locale the locale to use * @return the day of the week, such as 'Monday' */ public String getAsText(int fieldValue, Locale locale) { return GJLocaleSymbols.forLocale(locale).dayOfWeekValueToText(fieldValue); }
/** * Get the abbreviated textual value of the specified time instant. * * @param fieldValue the field value to query * @param locale the locale to use * @return the day of the week, such as 'Mon' */ public String getAsShortText(int fieldValue, Locale locale) { return GJLocaleSymbols.forLocale(locale).dayOfWeekValueToShortText(fieldValue); }
/** * Convert the specified text and locale into a value. * * @param text the text to convert * @param locale the locale to convert using * @return the value extracted from the text * @throws IllegalArgumentException if the text is invalid */ protected int convertText(String text, Locale locale) { return GJLocaleSymbols.forLocale(locale).dayOfWeekTextToValue(text); }
/** * Convert the specified text and locale into a value. * * @param text the text to convert * @param locale the locale to convert using * @return the value extracted from the text * @throws IllegalArgumentException if the text is invalid */ protected int convertText(String text, Locale locale) { return GJLocaleSymbols.forLocale(locale).dayOfWeekTextToValue(text); }
/** * Get the maximum length of the abbreviated text returned by this field. * * @param locale the locale to use * @return the maximum abbreviated textual length */ public int getMaximumShortTextLength(Locale locale) { return GJLocaleSymbols.forLocale(locale).getDayOfWeekMaxShortTextLength(); }
public int getMaximumTextLength(Locale locale) { return GJLocaleSymbols.forLocale(locale).getHalfdayMaxTextLength(); } }
/** * Get the abbreviated textual value of the specified time instant. * * @param fieldValue the field value to query * @param locale the locale to use * @return the day of the week, such as 'Mon' */ public String getAsShortText(int fieldValue, Locale locale) { return GJLocaleSymbols.forLocale(locale).dayOfWeekValueToShortText(fieldValue); }
/** * Get the maximum length of the text returned by this field. * * @param locale the locale to use * @return the maximum textual length */ public int getMaximumTextLength(Locale locale) { return GJLocaleSymbols.forLocale(locale).getDayOfWeekMaxTextLength(); }
/** * Get the textual value of the specified time instant. * * @param fieldValue the field value to query * @param locale the locale to use * @return the day of the week, such as 'Monday' */ public String getAsText(int fieldValue, Locale locale) { return GJLocaleSymbols.forLocale(locale).dayOfWeekValueToText(fieldValue); }
public String getAsShortText(int fieldValue, Locale locale) { return GJLocaleSymbols.forLocale(locale).monthOfYearValueToShortText(fieldValue); }
public String getAsText(int fieldValue, Locale locale) { return GJLocaleSymbols.forLocale(locale).halfdayValueToText(fieldValue); }
public String getAsText(int fieldValue, Locale locale) { return GJLocaleSymbols.forLocale(locale).eraValueToText(fieldValue); }
public int getMaximumTextLength(Locale locale) { return GJLocaleSymbols.forLocale(locale).getEraMaxTextLength(); }
public int getMaximumShortTextLength(Locale locale) { return GJLocaleSymbols.forLocale(locale).getMonthMaxShortTextLength(); }
public String getAsText(int fieldValue, Locale locale) { return GJLocaleSymbols.forLocale(locale).monthOfYearValueToText(fieldValue); }
protected int convertText(String text, Locale locale) { return GJLocaleSymbols.forLocale(locale).monthOfYearTextToValue(text); }
public long set(long millis, String text, Locale locale) { return set(millis, GJLocaleSymbols.forLocale(locale).halfdayTextToValue(text)); }
public long set(long instant, String text, Locale locale) { return set(instant, GJLocaleSymbols.forLocale(locale).eraTextToValue(text)); }