クラスの使用
org.springframework.modulith.moments.YearHasPassed
org.springframework.modulith.moments 内の YearHasPassed 使用
修飾子と型メソッド説明static YearHasPassed
YearHasPassed.of
(int year) 指定された年の新しいYearHasPassed
イベントを作成します。static YearHasPassed
指定されたYear
SE の新しいYearHasPassed
を作成します。