public object Compute( object input, EventBean[] eventsPerStream, bool newData, ExprEvaluatorContext exprEvaluatorContext) { return(StringToDateTimeOffsetWStaticFormatComputer.StringToDateTimeOffsetWStaticFormatParse( input.ToString(), DateTimeFormat.ISO_DATE_TIME)); }
public override object Compute( object input, EventBean[] eventsPerStream, bool newData, ExprEvaluatorContext exprEvaluatorContext) { var format = dateFormatEval.Evaluate(eventsPerStream, newData, exprEvaluatorContext); var formatter = StringToDateTimeFormatterSafe(format); return(StringToDateTimeOffsetWStaticFormatComputer.StringToDateTimeOffsetWStaticFormatParse( input.ToString(), formatter)); }