Class AbstractDateConversion
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.AbstractDateConversion
-
- Direct Known Subclasses:
WeekDefinition
public class AbstractDateConversion extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractDateConversion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDategetDateOfApply()Get the date from which the week definition has to be appliedLocalDategetEndingDateOfApply()Returns the EndingDateOfApplyDategetSqlDateOfApply()Get the date from which the week definition has to be appliedDategetSqlEndingDateOfApply()Returns the EndingDateOfApplyvoidsetDateOfApply(LocalDate dateOfApply)Set the date from which the week definition has to be appliedvoidsetEndingDateOfApply(LocalDate endingDateOfApply)Sets the EndingDateOfApplyvoidsetSqlDateOfApply(Date dateOfApply)Set the date from which the week definition has to be appliedvoidsetSqlEndingDateOfApply(Date endingDateOfApply)Sets the EndingDateOfApply
-
-
-
Method Detail
-
getDateOfApply
public LocalDate getDateOfApply()
Get the date from which the week definition has to be applied- Returns:
- the date from which the week definition has to be applied
-
getSqlDateOfApply
public Date getSqlDateOfApply()
Get the date from which the week definition has to be applied- Returns:
- the date in Sql Date format
-
setDateOfApply
public void setDateOfApply(LocalDate dateOfApply)
Set the date from which the week definition has to be applied- Parameters:
dateOfApply- the date to set
-
setSqlDateOfApply
public void setSqlDateOfApply(Date dateOfApply)
Set the date from which the week definition has to be applied- Parameters:
dateOfApply- the date to set (in Sql Date format)
-
getEndingDateOfApply
public LocalDate getEndingDateOfApply()
Returns the EndingDateOfApply- Returns:
- The EndingDateOfApply
-
getSqlEndingDateOfApply
public Date getSqlEndingDateOfApply()
Returns the EndingDateOfApply- Returns:
- The EndingDateOfApply
-
setEndingDateOfApply
public void setEndingDateOfApply(LocalDate endingDateOfApply)
Sets the EndingDateOfApply- Parameters:
endingDateOfApply- The EndingDateOfApply
-
setSqlEndingDateOfApply
public void setSqlEndingDateOfApply(Date endingDateOfApply)
Sets the EndingDateOfApply- Parameters:
endingDateOfApply- The EndingDateOfApply
-
-