public override object Evaluate(object target, EvaluateParams evaluateParams) { var dtx = ((DateTimeEx)target).Clone(); DTLocalEvaluatorBase.EvaluateDtxOps(CalendarOps, dtx, evaluateParams); return(ReformatOp.Evaluate(dtx, evaluateParams.EventsPerStream, evaluateParams.IsNewData, evaluateParams.ExprEvaluatorContext)); }
public override Object Evaluate( Object target, EventBean[] eventsPerStream, bool isNewData, ExprEvaluatorContext exprEvaluatorContext) { return(ReformatOp.Evaluate(target.AsLong(), eventsPerStream, isNewData, exprEvaluatorContext)); }
public override object Evaluate(object target, EvaluateParams evaluateParams) { var dt = (DateTimeOffset)target; var dtx = DateTimeEx.GetInstance(_timeZone, dt); DTLocalEvaluatorBase.EvaluateDtxOps(CalendarOps, dtx, evaluateParams); return(ReformatOp.Evaluate(dtx, evaluateParams.EventsPerStream, evaluateParams.IsNewData, evaluateParams.ExprEvaluatorContext)); }
public override Object Evaluate( Object target, EventBean[] eventsPerStream, bool isNewData, ExprEvaluatorContext exprEvaluatorContext) { var dateTime = new DateTimeEx(target.AsLong().TimeFromMillis(_timeZone), _timeZone); EvaluateCalOps(CalendarOps, dateTime, eventsPerStream, isNewData, exprEvaluatorContext); return(ReformatOp.Evaluate(dateTime.DateTime, eventsPerStream, isNewData, exprEvaluatorContext)); }
public override object Evaluate(object target, EvaluateParams evaluateParams) { return(ReformatOp.Evaluate((DateTimeEx)target, evaluateParams.EventsPerStream, evaluateParams.IsNewData, evaluateParams.ExprEvaluatorContext)); }