クラス MomentsProperties

java.lang.ObjectSE
org.springframework.modulith.moments.support.MomentsProperties

@ConfigurationProperties(prefix="spring.modulith.moments") public class MomentsProperties extends ObjectSE
Moments の構成プロパティ。
作成者:
Oliver Drotbohm
  • フィールドの詳細

  • メソッドの詳細

    • getZoneId

      public ZoneIdSE getZoneId()
      ZoneIdSE は、公開されたイベントに関連付けられている時間を決定します。デフォルトは ZoneOffset.UTCSE です。
      戻り値:
      null になることはありません。
    • getLocale

      public LocaleSE getLocale()
      週の境界を決定するときに使用する LocaleSE。デフォルトは Locale.getDefault() です。
      戻り値:
      null になることはありません。
    • isEnableTimeMachine

      public boolean isEnableTimeMachine()
      TimeMachine を有効にするかどうか。
    • isHourly

      boolean isHourly()
      時間ごとのイベントを作成するかどうかを返します。
    • getShiftedQuarter

      public ShiftedQuarter getShiftedQuarter(LocalDateSE reference)
      指定された基準日の ShiftedQuarter を返します。
      パラメーター:
      reference - null であってはなりません。
      戻り値:
      null になることはありません。
    • withGranularity

      MomentsProperties withGranularity(MomentsProperties.Granularity granularity)
    • withZoneId

      MomentsProperties withZoneId(ZoneIdSE zoneId)
    • withLocale

      MomentsProperties withLocale(LocaleSE locale)