Class AbstractDateConversion
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.AbstractDateConversion
-
- Direct Known Subclasses:
WeekDefinition
public class AbstractDateConversion extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractDateConversion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.LocalDategetDateOfApply()Get the date from which the week definition has to be appliedjava.time.LocalDategetEndingDateOfApply()Returns the EndingDateOfApplyjava.sql.DategetSqlDateOfApply()Get the date from which the week definition has to be appliedjava.sql.DategetSqlEndingDateOfApply()Returns the EndingDateOfApplyvoidsetDateOfApply(java.time.LocalDate dateOfApply)Set the date from which the week definition has to be appliedvoidsetEndingDateOfApply(java.time.LocalDate endingDateOfApply)Sets the EndingDateOfApplyvoidsetSqlDateOfApply(java.sql.Date dateOfApply)Set the date from which the week definition has to be appliedvoidsetSqlEndingDateOfApply(java.sql.Date endingDateOfApply)Sets the EndingDateOfApply
-
-
-
Method Detail
-
getDateOfApply
public java.time.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 java.sql.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(java.time.LocalDate dateOfApply)
Set the date from which the week definition has to be applied- Parameters:
dateOfApply- the date to set
-
setSqlDateOfApply
public void setSqlDateOfApply(java.sql.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 java.time.LocalDate getEndingDateOfApply()
Returns the EndingDateOfApply- Returns:
- The EndingDateOfApply
-
getSqlEndingDateOfApply
public java.sql.Date getSqlEndingDateOfApply()
Returns the EndingDateOfApply- Returns:
- The EndingDateOfApply
-
setEndingDateOfApply
public void setEndingDateOfApply(java.time.LocalDate endingDateOfApply)
Sets the EndingDateOfApply- Parameters:
endingDateOfApply- The EndingDateOfApply
-
setSqlEndingDateOfApply
public void setSqlEndingDateOfApply(java.sql.Date endingDateOfApply)
Sets the EndingDateOfApply- Parameters:
endingDateOfApply- The EndingDateOfApply
-
-