@MappedSuperclass @Embeddable public class DateCycle extends ModelObject
DateCycleUtils} as default implementation that calculates on this.
,
Serialized FormConstructor and Description |
---|
DateCycle() |
Modifier and Type | Method and Description |
---|---|
Integer |
getDayOfMonth()
Optional.
|
Integer |
getDuration()
Duration in Days.
|
Integer |
getMonthOfYear()
Optional.
|
void |
setDayOfMonth(Integer dayOfMonth)
Optional.
|
void |
setDuration(Integer duration)
Duration in Days.
|
void |
setMonthOfYear(Integer monthOfYear)
Optional.
|
String |
toString() |
public Integer getDayOfMonth()
dayOfMonth
and/or monthOfYear
.
monthOfYear
, then every month dayOfMonth
will be the cut date of the cycle (excluding that date)
public void setDayOfMonth(Integer dayOfMonth)
dayOfMonth
and/or monthOfYear
.
monthOfYear
, then every month dayOfMonth
will be the cut date of the cycle (excluding that date)
public Integer getMonthOfYear()
dayOfMonth
and/or monthOfYear
.
monthOfYear
, then every month dayOfMonth
will be the cut date of the cycle (excluding that date)
public void setMonthOfYear(Integer monthOfYear)
dayOfMonth
and/or monthOfYear
.
monthOfYear
, then every month dayOfMonth
will be the cut date of the cycle (excluding that date)
public Integer getDuration()
dayOfMonth
or annual (monthOfYear
public void setDuration(Integer duration)
dayOfMonth
or annual (monthOfYear
Copyright © 2018. All rights reserved.