Package org.jquantlib.time

Examples of org.jquantlib.time.TimeUnit


   *
   * @param str
   * @return period derived from str
   */
  public static Period parse(String str) {
    TimeUnit units = null;
    int index = -1;
    if ((index = str.indexOf('d')) > 0
        || (index = str.indexOf('D')) > 0) {
      units = TimeUnit.DAYS;
      enforceUnit(index,str,units);
View Full Code Here

TOP

Related Classes of org.jquantlib.time.TimeUnit

Copyright © 2018 www.massapicom. 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.