Class DateTimeMethodOpsReformat
java.lang.Object
com.espertech.esper.common.client.hook.datetimemethod.DateTimeMethodOpsReformat
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the information how calendar-reformat is providedReturns the information how Date-reformat is providedgetLdtOp()
Returns the information how LocalDateTime-reformat is providedReturns the information how long-reformat is providedReturns the return type.getZdtOp()
Returns the information how ZonedDateTime-reformat is providedvoid
setCalendarOp
(DateTimeMethodMode calendarOp) Sets the information how calendar-reformat is providedvoid
setDateOp
(DateTimeMethodMode dateOp) Sets the information how Date-reformat is providedvoid
setLdtOp
(DateTimeMethodMode ldtOp) Sets the information how LocalDateTime-reformat is providedvoid
setLongOp
(DateTimeMethodMode longOp) Sets the information how long-reformat is providedvoid
setReturnType
(EPTypeClass returnType) Sets the return type.void
setZdtOp
(DateTimeMethodMode zdtOp) Sets the information how ZonedDateTime-reformat is provided
-
Constructor Details
-
DateTimeMethodOpsReformat
public DateTimeMethodOpsReformat()Ctor.
-
-
Method Details
-
getCalendarOp
Returns the information how calendar-reformat is provided- Returns:
- mode
-
setCalendarOp
Sets the information how calendar-reformat is provided- Parameters:
calendarOp
- mode
-
getLdtOp
Returns the information how LocalDateTime-reformat is provided- Returns:
- mode
-
setLdtOp
Sets the information how LocalDateTime-reformat is provided- Parameters:
ldtOp
- mode
-
getZdtOp
Returns the information how ZonedDateTime-reformat is provided- Returns:
- mode
-
setZdtOp
Sets the information how ZonedDateTime-reformat is provided- Parameters:
zdtOp
- mode
-
getLongOp
Returns the information how long-reformat is provided- Returns:
- mode
-
setLongOp
Sets the information how long-reformat is provided- Parameters:
longOp
- mode
-
getDateOp
Returns the information how Date-reformat is provided- Returns:
- mode
-
setDateOp
Sets the information how Date-reformat is provided- Parameters:
dateOp
- mode
-
getReturnType
Returns the return type.- Returns:
- return type
-
setReturnType
Sets the return type.- Parameters:
returnType
- return type
-