クラス SimpleTimeZoneAwareLocaleContext

java.lang.ObjectSE
org.springframework.context.i18n.SimpleLocaleContext
org.springframework.context.i18n.SimpleTimeZoneAwareLocaleContext
実装されたすべてのインターフェース:
LocaleContextTimeZoneAwareLocaleContext

public class SimpleTimeZoneAwareLocaleContext extends SimpleLocaleContext implements TimeZoneAwareLocaleContext
TimeZoneAwareLocaleContext インターフェースの単純な実装で、常に指定された Locale および TimeZone を返します。

メモ: ロケールのみを設定し、TimeZone を設定しない場合は、SimpleLocaleContext の使用をお勧めします。

導入:
4.0
作成者:
Juergen Hoeller, Nicholas Williams
関連事項:
  • コンストラクターの詳細

    • SimpleTimeZoneAwareLocaleContext

      public SimpleTimeZoneAwareLocaleContext(@Nullable LocaleSE locale, @Nullable TimeZoneSE timeZone)
      指定されたロケールと TimeZone を公開する新しい SimpleTimeZoneAwareLocaleContext を作成します。すべての SimpleLocaleContext.getLocale() 呼び出しは指定されたロケールを返し、すべての getTimeZone() 呼び出しは指定された TimeZone を返します。
      パラメーター:
      locale - 公開するロケール
      timeZone - 公開する TimeZone
  • メソッドの詳細