Java TimeUnit Usage getTimeComparisonEpsilonMicros()

Here you can find the source of getTimeComparisonEpsilonMicros()

Description

get Time Comparison Epsilon Micros

License

Open Source License

Declaration

public static long getTimeComparisonEpsilonMicros() 

Method Source Code

//package com.java2s;
/*//  ww w  . j  a va  2 s  .com
 * Copyright (c) 2014-2015 VMware, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.  You may obtain a copy of
 * the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed
 * under the License is distributed on an "AS IS" BASIS, without warranties or
 * conditions of any kind, EITHER EXPRESS OR IMPLIED.  See the License for the
 * specific language governing permissions and limitations under the License.
 */

import java.util.concurrent.TimeUnit;

public class Main {
    private static long timeComparisonEpsilonMicros = TimeUnit.SECONDS.toMicros(120);

    public static long getTimeComparisonEpsilonMicros() {
        return timeComparisonEpsilonMicros;
    }
}

Related

  1. getRemainingTimeString(int completedCount, int totalCount, long elapsed)
  2. getSeconds(long time)
  3. getSecondsDateDiff(Date dateStart)
  4. getSecondsTimeStamp()
  5. getTime()
  6. getTimeDifference(Date startDate, Date endDate)
  7. getTimeFormat(final long time)
  8. getTimeForS3URL()
  9. getTimeInMillis(String str)