Index

C D E G H I M N O Q S T V W Y 
All Classes and Interfaces|All Packages

C

contains(LocalDate) - Method in class org.moduliths.moments.ShiftedQuarter
Returns whether the given LocalDate is contained in the current ShiftedQuarter.

D

DayHasPassed - Class in org.moduliths.moments
A DomainEvent published on each day.
DayHasPassed() - Constructor for class org.moduliths.moments.DayHasPassed
 
DAYS - Enum constant in enum org.moduliths.moments.support.MomentsProperties.Granularity
 
DEFAULTS - Static variable in class org.moduliths.moments.support.MomentsProperties
 

E

emitEventsFor(LocalDate) - Method in class org.moduliths.moments.support.Moments
 
emitEventsFor(LocalDateTime) - Method in class org.moduliths.moments.support.Moments
 
everyHour() - Method in class org.moduliths.moments.support.Moments
Triggers event publication every hour.
everyMidnight() - Method in class org.moduliths.moments.support.Moments
Triggers event publication every midnight.

G

getEnd() - Method in class org.moduliths.moments.ShiftedQuarter
 
getEndDate() - Method in class org.moduliths.moments.QuarterHasPassed
Returns the date of the last day of the quarter that has just passed.
getEndDate() - Method in class org.moduliths.moments.WeekHasPassed
Returns the end date of the week that has passed.
getEndDate() - Method in class org.moduliths.moments.YearHasPassed
Returns the end date of the year passed.
getEndDate(Year) - Method in class org.moduliths.moments.ShiftedQuarter
Returns the end date of the ShiftedQuarter for the given Year.
getShiftedQuarter(LocalDate) - Method in class org.moduliths.moments.support.MomentsProperties
Returns the ShiftedQuarter for the given reference date.
getStart() - Method in class org.moduliths.moments.ShiftedQuarter
 
getStartDate() - Method in class org.moduliths.moments.QuarterHasPassed
Returns the date of the first day of the quarter that has just passed.
getStartDate() - Method in class org.moduliths.moments.WeekHasPassed
Returns the start date of the week that has passed.
getStartDate() - Method in class org.moduliths.moments.YearHasPassed
Returns the start date of the year passed.
getStartDate(Year) - Method in class org.moduliths.moments.ShiftedQuarter
Returns the start date of the ShiftedQuarter for the given Year.

H

HourHasPassed - Class in org.moduliths.moments
A DomainEvent published on each day.
HourHasPassed() - Constructor for class org.moduliths.moments.HourHasPassed
 
HOURS - Enum constant in enum org.moduliths.moments.support.MomentsProperties.Granularity
 

I

isHourly() - Method in class org.moduliths.moments.support.MomentsProperties
Returns whether to create hourly events.
isLastDay(LocalDate) - Method in class org.moduliths.moments.ShiftedQuarter
 

M

moments(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.moduliths.moments.autoconfigure.MomentsAutoConfiguration
 
Moments - Class in org.moduliths.moments.support
 
Moments() - Constructor for class org.moduliths.moments.support.Moments
 
MomentsAutoConfiguration - Class in org.moduliths.moments.autoconfigure
Auto-configuration for Moments.
MomentsAutoConfiguration() - Constructor for class org.moduliths.moments.autoconfigure.MomentsAutoConfiguration
 
MomentsProperties - Class in org.moduliths.moments.support
Configuration properties for Moments.
MomentsProperties.Granularity - Enum in org.moduliths.moments.support
 
MonthHasPassed - Class in org.moduliths.moments
A DomainEvent published on the last day of the month.
MonthHasPassed() - Constructor for class org.moduliths.moments.MonthHasPassed
 

N

next() - Method in enum org.moduliths.moments.Quarter
Returns the next logical Quarter.
next() - Method in class org.moduliths.moments.ShiftedQuarter
Returns the next ShiftedQuarter.
now() - Method in class org.moduliths.moments.support.Moments
 
now() - Method in class org.moduliths.moments.support.TimeMachine
 

O

of(int) - Static method in class org.moduliths.moments.YearHasPassed
Creates a new YearHasPassed event for the given year.
of(Year, int) - Static method in class org.moduliths.moments.WeekHasPassed
Creates a new WeekHasPassed for the given Year and week of the year.
of(Year, Quarter) - Static method in class org.moduliths.moments.QuarterHasPassed
Returns a QuarterHasPassed for the given Year and logical Quarter.
of(Year, Quarter, Month) - Static method in class org.moduliths.moments.QuarterHasPassed
Returns a QuarterHasPassed for the given Year, logical Quarter and start Month.
of(Quarter) - Static method in class org.moduliths.moments.ShiftedQuarter
 
org.moduliths.moments - package org.moduliths.moments
 
org.moduliths.moments.autoconfigure - package org.moduliths.moments.autoconfigure
 
org.moduliths.moments.support - package org.moduliths.moments.support
 

Q

Q1 - Enum constant in enum org.moduliths.moments.Quarter
 
Q2 - Enum constant in enum org.moduliths.moments.Quarter
 
Q3 - Enum constant in enum org.moduliths.moments.Quarter
 
Q4 - Enum constant in enum org.moduliths.moments.Quarter
 
Quarter - Enum in org.moduliths.moments
A logical Quarter of the year.
QuarterHasPassed - Class in org.moduliths.moments
A DomainEvent published once a quarter has passed.
QuarterHasPassed() - Constructor for class org.moduliths.moments.QuarterHasPassed
 

S

shiftBy(Duration) - Method in class org.moduliths.moments.support.Moments
 
shiftBy(Duration) - Method in class org.moduliths.moments.support.TimeMachine
 
ShiftedQuarter - Class in org.moduliths.moments
A quarter that can be shifted to start at a configurable Month.
ShiftedQuarter() - Constructor for class org.moduliths.moments.ShiftedQuarter
 

T

timeMachine(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.moduliths.moments.autoconfigure.MomentsAutoConfiguration
 
TimeMachine - Class in org.moduliths.moments.support
Extension of Moments to publicly expose methods to shift time.
TimeMachine(Clock, ApplicationEventPublisher, MomentsProperties) - Constructor for class org.moduliths.moments.support.TimeMachine
Creates a new TimeMachine for the given Clock, ApplicationEventPublisher and MomentsProperties.

V

valueOf(String) - Static method in enum org.moduliths.moments.Quarter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.moduliths.moments.support.MomentsProperties.Granularity
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.moduliths.moments.Quarter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.moduliths.moments.support.MomentsProperties.Granularity
Returns an array containing the constants of this enum type, in the order they are declared.

W

WeekHasPassed - Class in org.moduliths.moments
A DomainEvent published if a week has passed.
WeekHasPassed() - Constructor for class org.moduliths.moments.WeekHasPassed
 

Y

YearHasPassed - Class in org.moduliths.moments
A DomainEvent published on the last day of the year.
YearHasPassed() - Constructor for class org.moduliths.moments.YearHasPassed
 
C D E G H I M N O Q S T V W Y 
All Classes and Interfaces|All Packages