Examples of timeType()


Examples of com.ibm.icu.impl.TimeZoneGenericNames.GenericMatchInfo.timeType()

      default:
        break;
      }
      GenericMatchInfo bestGeneric = getTimeZoneGenericNames().findBestMatch(text, startIdx, genericNameTypes);
      if (bestGeneric != null && (startIdx + bestGeneric.matchLength() > parsedPos)) {
        timeType.value = bestGeneric.timeType();
        pos.setIndex(startIdx + bestGeneric.matchLength());
        return TimeZone.getTimeZone(bestGeneric.tzID());
      }
      break;
    }
View Full Code Here

Examples of com.ibm.icu.impl.TimeZoneGenericNames.GenericMatchInfo.timeType()

      if (parsedPos < maxPos) {
        GenericMatchInfo genericMatch = getTimeZoneGenericNames().findBestMatch(text, startIdx, ALL_GENERIC_NAME_TYPES);
        if (genericMatch != null && parsedPos < startIdx + genericMatch.matchLength()) {
          parsedPos = startIdx + genericMatch.matchLength();
          parsedID = genericMatch.tzID();
          parsedTimeType = genericMatch.timeType();
          parsedOffset = UNKNOWN_OFFSET;
        }
      }

      // Try time zone ID
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.