/** * Sets the formatting symbols. * * <p>The symbols control the localization of numeric output. * * @param symbols the formatting symbols, not null */ public void setSymbols(DateTimeFormatSymbols symbols) { MathUtils.checkNotNull(symbols, "DateTimeFormatSymbols must not be null"); this.symbols = symbols; }
/** * Sets the calendrical being output. * * @param calendrical the calendrical, not null */ public void setCalendrical(Calendrical calendrical) { MathUtils.checkNotNull(calendrical, "Calendrical must not be null"); this.calendrical = calendrical; }
/** * Sets the locale. * * <p>This locale is used to control localization in the print output except where localization is * controlled by the symbols. * * @param locale the locale, not null */ public void setLocale(Locale locale) { MathUtils.checkNotNull(locale, "Locale must not be null"); this.locale = locale; }