Package gov.nasa.arc.mct.components

Examples of gov.nasa.arc.mct.components.TimeConversion


    for (AbstractComponent component : telemetryElements) {
      if (component != null) {
        FeedProvider fp = getFeedProvider(component);
        if (fp != null) {
          feedProviders.add(fp);
          TimeConversion tc = component.getCapability(TimeConversion.class);
          if (tc != null) {
            timeConversionMap.put(fp.getSubscriptionId(), tc);
          }             
        } else {
          if (component.getCapability(Evaluator.class) != null) {
View Full Code Here


                          .singletonList(provider));
              value = ri.getValueText();             
            } else {
              if (provider.getFeedType() != FeedType.STRING) {
                if (settings.getDateFormat() != null && settings.getDateFormat() !=  DateFormatItem.None) {
                  TimeConversion tc = timeConversionMap.get(provider.getSubscriptionId());               
                  value = TimeFormat.applySimpleDateFormat(settings.getDateFormatter(),
                      tc, value.toString());
                else {
                  value = executeDecimalFormatter(provider,
                      value.toString(), data, settings);
View Full Code Here

            columnIndex);
        if (component != null) {
          FeedProvider fp = getFeedProvider(component);
          if (fp != null) {
            feedProviders.add(fp);
            TimeConversion tc = component.getCapability(TimeConversion.class);
            if (tc != null) {
              timeConversionMap.put(fp.getSubscriptionId(), tc);
            }             
          } else {
            if (component.getCapability(Evaluator.class) != null) {
View Full Code Here

      AbstractComponent component = model.getComponentOfRow(rowIndex);
      if(component!=null) {
        FeedProvider fp = getFeedProvider(component);
        if (fp != null) {
          feedProviders.add(fp);
          TimeConversion tc = component.getCapability(TimeConversion.class);
          if (tc != null) {
            timeConversionMap.put(fp.getSubscriptionId(), tc);
          }             
        }
      }
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.components.TimeConversion

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.