/* (non-Javadoc)
@see com.adobe.epubcheck.ocf.OCFPackage#getTimeEntry(java.lang.String)
439708
public long getTimeEntry(String name)
  {
    ZipEntry entry = zip.getEntry(name);
    if (entry == null)
    {
      return 0L;
    }
    return entry.getTime();
  }
628861
@Override
    public com.ibm.websphere.cache.CacheEntry getEntryDisk(Object cacheId) {
        final String methodName = "getEntryDisk()";
        CacheEntry ce = null;
        if (this.swapToDisk) {
            // TODO write code to support getEntryDisk function
            if (tc.isDebugEnabled()) {
                Tr.debug(tc, methodName + " cacheName=" + cacheName + " ERROR because it is not implemented yet");
            }
        } else {
            if (this.featureSupport.isDiskCacheSupported() == false) {
                Tr.error(tc, "DYNA1064E", new Object[] { methodName, cacheName, this.cacheProviderName });
            } else {
                if (tc.isDebugEnabled()) {
                    Tr.debug(tc, methodName + " cacheName=" + cacheName + " no operation is done because the disk cache offload is not enabled");
                }
            }
        }
        return ce;
    }
40519
String getTimeFileName() {
        SimpleDateFormat dateFormat = new SimpleDateFormat(wraper.formatter);
        return dateFormat.format(Calendar.getInstance().getTime());
    }
1201014
private Entry getEntry(Object key)
    {
        if (key == null) return null;
        int hash = hashCode(key);
        int index = indexFor(hash);
        for (Entry entry = table[index]; entry != null; entry = entry.next)
        {
            if ((entry.hash == hash) && equals(key, entry.getKey()))
            {
                return entry;
            }
        }
        return null;
    }
617996
public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
    if (typeCase_ == 5) {
      return (com.google.protobuf.Timestamp) type_;
    }
    return com.google.protobuf.Timestamp.getDefaultInstance();
  }
991390
@Override
    public long get(TemporalUnit unit) {

        for (Map.Entry<IsoUnit, TemporalUnit> entry : MAP.entrySet()) {
            if (entry.getValue().equals(unit)) {
                long amount = this.duration.getPartialAmount(entry.getKey());
                if (this.duration.isNegative()) {
                    amount = Math.negateExact(amount);
                }
                return amount;
            }
        }

        if (unit.equals(ChronoUnit.HALF_DAYS)) {
            long hd = Math.floorDiv(this.duration.getPartialAmount(ClockUnit.HOURS), 12);
            if (this.duration.isNegative()) {
                hd = Math.negateExact(hd);
            }
            return hd;
        }

        throw new UnsupportedTemporalTypeException(unit.toString()); // throws NPE if unit is null

    }
401239
@Override
    public long getMessageWaitTime()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        {
            SibTr.entry(this, tc, "getMessageWaitTime");
            SibTr.exit(this,
                       tc, "getMessageWaitTime", Long.valueOf(messageWaitTime));
        }

        return messageWaitTime;
    }
145994
def time_entries(self, start_date=None, end_date=None):
        ''''''
        if self.cache['time_entries']: return self.cache['time_entries']
        if not start_date:
            start_date = datetime.date(1900, 1, 1)
        if not end_date:
            end_date = datetime.date.today()
        time_entry_xml = self.bc.list_time_entries(self.id, start_date, end_date)
        time_entries = []
        for entry in ET.fromstring(time_entry_xml).findall("time-entry"):
            time_entries.append(TimeEntry(entry))
        self.cache['time_entries'] = time_entries
        return self.cache['time_entries']
709213
static long readCheckpointTime(StorageDirectory sd) throws IOException {
    File timeFile = NNStorage.getStorageFile(sd, NameNodeFile.TIME);
    long timeStamp = 0L;
    if (timeFile.exists() && timeFile.canRead()) {
      DataInputStream in = new DataInputStream(new FileInputStream(timeFile));
      try {
        timeStamp = in.readLong();
      } finally {
        IOUtils.cleanup(LOG, in);
      }
    }
    return timeStamp;
  }
738924
@Override
    public long deliveryDelayableGetDeliveryDelayTime() {
        long deliveryDelayTime = getTuple().getDeliveryDelayTime();
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        {
            SibTr.entry(this, tc, "deliveryDelayableGetDeliveryDelayTime");
            SibTr.exit(this, tc, "deliveryDelayableGetDeliveryDelayTime", Long.valueOf(deliveryDelayTime));
        }
        return deliveryDelayTime; // 183455
    }
470694
private static Reason getReasonFromX509Entry(final X509CRLEntry entry) {
        if (entry.hasExtensions()) {
            try {
                val code = Integer.parseInt(
                    new String(entry.getExtensionValue(CRL_REASON_OID), "ASCII"));
                if (code < Reason.values().length) {
                    return Reason.fromCode(code);
                }
            } catch (final Exception e) {
                LOGGER.trace("An exception occurred when resolving extension value: [{}]", e.getMessage());
            }
        }
        return null;
    }
357408
@Override
    public Set<java.util.Map.Entry<Long, V>> entrySet() {
        return this.timeSeriesMap.entrySet();
    }
1088892
@Override
	public Timestamp getTimestamp(final int columnIndex, final Calendar cal) throws SQLException {
		return wrapped.getTimestamp(columnIndex, cal);
	}
281920
public XMLGregorianCalendar getTimeStamp()
   {
       GregorianCalendar cal = new GregorianCalendar();
       DatatypeFactory dt;
       try {
           dt = DatatypeFactory.newInstance();
           return dt.newXMLGregorianCalendar(cal);
       } catch (DatatypeConfigurationException e) {
           e.printStackTrace();
       }
       return null;
   }
696544
long getMessageLockExpiry() {

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            final String methodName = "getMessageLockExpiry";
            SibTr.entry(this, TRACE, methodName);
            SibTr.exit(this, TRACE, methodName, "0");
        }
        return 0;

    }
1356557
public com.ibm.websphere.cache.CacheEntry getEntry(com.ibm.websphere.cache.EntryInfo ei) {
        return getEntry(ei, true);
    }
370684
public static <K extends WritableComparable, V extends Writable>
  Writable getEntry(MapFile.Reader[] readers,
                                  Partitioner<K, V> partitioner,
                                  K key,
                                  V value) throws IOException {
    int part = partitioner.getPartition(key, value, readers.length);
    return readers[part].get(key, value);
  }