public class LocalDateType extends DateType
  • Field Details

  • Constructor Details

  • Method Details

    • copy

      public LocalDateType copy()
      Specified by:
      copy in class TypeSchema
    • getDateInstance

      public Object getDateInstance(List<IntParam> values)
      Specified by:
      getDateInstance in class DateType
      Parameters:
      values - are a list of values for the date
      Returns:
      a date instance based on the values
    • getIntValues

      public List<IntParam> getIntValues(Object date)
      Description copied from class: DateType
      extract value of fields based on the date instance
      Specified by:
      getIntValues in class DateType
      Parameters:
      date - is an instance of Date, eg, java.util.Date or java.time.LocalDate
      Returns:
      a list of fields which contains specific values
    • getDateLong

      public long getDateLong(List<IntParam> values)
      Specified by:
      getDateLong in class DateType
      Returns:
      date with long format
    • getDateString

      public String getDateString(List<IntParam> values)
      Specified by:
      getDateString in class DateType
      Parameters:
      values - are a list of values for the date
      Returns:
      a string representing the date with the specified values
    • getDto

      public org.evomaster.client.java.controller.api.dto.problem.rpc.TypeDto getDto()
      Overrides:
      getDto in class TypeSchema