Class DateTimeMethodOpsModify

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

public class DateTimeMethodOpsModify extends Object implements DateTimeMethodOps
For adding a date-time method that modifies the date-time value and that return a result of the same type as the date-time value.

long-type and Date-type values are automatically converted from and to Calendar.

  • Constructor Details

    • DateTimeMethodOpsModify

      public DateTimeMethodOpsModify()
      Ctor.
  • Method Details

    • getCalendarOp

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

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

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

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

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

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