Package com.barchart.util.values.api

Examples of com.barchart.util.values.api.TimeValue


    text.append(get(EXCHANGE_CODE));
    text.append(SPACE);

    addSpreadComponents(text);

    final TimeValue expire = ValueBuilder.newTime(get(LIFETIME).stop().millisecond());
    if (!expire.isNull()) {

      text.append(display.timeMonthFull(expire));
      text.append(SPACE);

      text.append(display.timeYearFull(expire));
View Full Code Here


        XML_PASS);

    final String exchangeComment = xmlStringDecode(ats, EXCHANGE_COMMENT,
        XML_PASS);

    final TimeValue expire = xmlTimeDecode(ats, SYMBOL_EXPIRE, XML_PASS);

    //

    final String ddf_expire_month = xmlStringDecode(ats,
        SYMBOL_DDF_EXPIRE_MONTH, XML_PASS);
View Full Code Here

    text.append(get(TYPE).getDescription());
    text.append(SPACE);

    addSpreadComponents(text);

    final TimeValue expire = get(DATE_FINISH);
    if (!expire.isNull()) {

      text.append(MarketDisplay.timeMonthFull(expire));
      text.append(SPACE);

      text.append(MarketDisplay.timeYearFull(expire));
View Full Code Here

        XML_PASS);

    final String exchangeComment = xmlStringDecode(tag, EXCHANGE_COMMENT,
        XML_PASS);

    final TimeValue expire = xmlTimeDecode(tag, SYMBOL_EXPIRE, XML_PASS);

    //

    // month code for exp of futures contract
View Full Code Here

  }

  @Override
  public final boolean equals(final Object thatTime) {
    if (thatTime instanceof TimeValue) {
      final TimeValue that = (TimeValue) thatTime;
      return this.compareTo(that) == 0;
    }
    return false;
  }
View Full Code Here

TOP

Related Classes of com.barchart.util.values.api.TimeValue

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.