クラス MomentsProperties
java.lang.ObjectSE
org.springframework.modulith.moments.support.MomentsProperties
@ConfigurationProperties(prefix="spring.modulith.moments")
public class MomentsProperties
extends ObjectSE
Moments の構成プロパティ。- 作成者:
- Oliver Drotbohm
ネストされたクラスの概要
ネストされたクラスフィールド概要
フィールド方法の概要
修飾子と型メソッド説明週の境界を決定するときに使用するLocaleSE。getShiftedQuarter(LocalDateSE reference) 指定された基準日のShiftedQuarterを返します。ZoneIdSE は、公開されたイベントに関連付けられている時間を決定します。booleanTimeMachineを有効にするかどうか。(package private) booleanisHourly()時間ごとのイベントを作成するかどうかを返します。(package private) MomentsPropertieswithGranularity(MomentsProperties.Granularity granularity) (package private) MomentsPropertieswithLocale(LocaleSE locale) (package private) MomentsPropertieswithZoneId(ZoneIdSE zoneId)
フィールドの詳細
DEFAULTS
方法の詳細
getZoneId
ZoneIdSE は、公開されたイベントに関連付けられている時間を決定します。デフォルトはZoneOffset.UTCSE です。- 戻り値:
- null になることはありません。
getLocale
週の境界を決定するときに使用するLocaleSE。デフォルトはLocale.getDefault()です。- 戻り値:
- null になることはありません。
isEnableTimeMachine
public boolean isEnableTimeMachine()TimeMachineを有効にするかどうか。isHourly
boolean isHourly()時間ごとのイベントを作成するかどうかを返します。getShiftedQuarter
指定された基準日のShiftedQuarterを返します。- パラメーター:
reference- null であってはなりません。- 戻り値:
- null になることはありません。
withGranularity
withZoneId
withLocale