Class AbstractDateConversion

  • Direct Known Subclasses:
    WeekDefinition

    public class AbstractDateConversion
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.LocalDate getDateOfApply()
      Get the date from which the week definition has to be applied
      java.time.LocalDate getEndingDateOfApply()
      Returns the EndingDateOfApply
      java.sql.Date getSqlDateOfApply()
      Get the date from which the week definition has to be applied
      java.sql.Date getSqlEndingDateOfApply()
      Returns the EndingDateOfApply
      void setDateOfApply​(java.time.LocalDate dateOfApply)
      Set the date from which the week definition has to be applied
      void setEndingDateOfApply​(java.time.LocalDate endingDateOfApply)
      Sets the EndingDateOfApply
      void setSqlDateOfApply​(java.sql.Date dateOfApply)
      Set the date from which the week definition has to be applied
      void setSqlEndingDateOfApply​(java.sql.Date endingDateOfApply)
      Sets the EndingDateOfApply
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractDateConversion

        public AbstractDateConversion()
    • 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