Examples of anyNegative()


Examples of ch.agent.t2.time.TimeParts.anyNegative()

      // there is something to do even when subPeriod = 0
      subPeriodPattern.fillInSubPeriod(subPeriod, tp);
    }
   
    // make sure nothing is negative
    if (tp.anyNegative())
      throw new RuntimeException(String.format("(bug) time=%d %s", time, tp.toString()));
     
    return tp;
  }
View Full Code Here

Examples of ch.agent.t2.time.TimeParts.anyNegative()

      // there is something to do even when subPeriod = 0
      subPeriodPattern.fillInSubPeriod(subPeriod, tp);
    }
   
    // make sure nothing is negative
    if (tp.anyNegative())
      throw new RuntimeException(String.format("(bug) time=%d %s", time, tp.toString()));
     
    return tp;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.