Class DateTimeMethodOpsReformat

java.lang.Object
com.espertech.esper.common.client.hook.datetimemethod.DateTimeMethodOpsReformat
All Implemented Interfaces:
DateTimeMethodOps

public class DateTimeMethodOpsReformat extends Object implements DateTimeMethodOps
For adding a date-time method that reformats the date-time value returning a result of a different type as the date-time value.

Make sure to set a return type.

  • Constructor Details

    • DateTimeMethodOpsReformat

      public DateTimeMethodOpsReformat()
      Ctor.
  • Method Details

    • getCalendarOp

      public DateTimeMethodMode getCalendarOp()
      Returns the information how calendar-reformat is provided
      Returns:
      mode
    • setCalendarOp

      public void setCalendarOp(DateTimeMethodMode calendarOp)
      Sets the information how calendar-reformat is provided
      Parameters:
      calendarOp - mode
    • getLdtOp

      public DateTimeMethodMode getLdtOp()
      Returns the information how LocalDateTime-reformat is provided
      Returns:
      mode
    • setLdtOp

      public void setLdtOp(DateTimeMethodMode ldtOp)
      Sets the information how LocalDateTime-reformat is provided
      Parameters:
      ldtOp - mode
    • getZdtOp

      public DateTimeMethodMode getZdtOp()
      Returns the information how ZonedDateTime-reformat is provided
      Returns:
      mode
    • setZdtOp

      public void setZdtOp(DateTimeMethodMode zdtOp)
      Sets the information how ZonedDateTime-reformat is provided
      Parameters:
      zdtOp - mode
    • getLongOp

      public DateTimeMethodMode getLongOp()
      Returns the information how long-reformat is provided
      Returns:
      mode
    • setLongOp

      public void setLongOp(DateTimeMethodMode longOp)
      Sets the information how long-reformat is provided
      Parameters:
      longOp - mode
    • getDateOp

      public DateTimeMethodMode getDateOp()
      Returns the information how Date-reformat is provided
      Returns:
      mode
    • setDateOp

      public void setDateOp(DateTimeMethodMode dateOp)
      Sets the information how Date-reformat is provided
      Parameters:
      dateOp - mode
    • getReturnType

      public EPTypeClass getReturnType()
      Returns the return type.
      Returns:
      return type
    • setReturnType

      public void setReturnType(EPTypeClass returnType)
      Sets the return type.
      Parameters:
      returnType - return type