public static ExprTimePeriod TimePeriodGetExprJustSeconds(EsperEPL2GrammarParser.ExpressionContext expression, IDictionary <ITree, ExprNode> astExprNodeMap, ConfigurationInformation config) { var node = ExprCollectSubNodes(expression, 0, astExprNodeMap)[0]; var timeNode = new ExprTimePeriodImpl(config.EngineDefaults.ExpressionConfig.TimeZone, false, false, false, false, false, false, true, false); timeNode.AddChildNode(node); return(timeNode); }
public static ExprTimePeriod TimePeriodGetExprJustSeconds( EsperEPL2GrammarParser.ExpressionContext expression, IDictionary<ITree, ExprNode> astExprNodeMap, TimeAbacus timeAbacus) { ExprNode node = ExprCollectSubNodes(expression, 0, astExprNodeMap)[0]; ExprTimePeriod timeNode = new ExprTimePeriodImpl(false, false, false, false, false, false, true, false, false, timeAbacus); timeNode.AddChildNode(node); return timeNode; }