Java TimeUnit Usage pause()

Here you can find the source of pause()

Description

pause

License

Apache License

Declaration

protected static void pause() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.concurrent.TimeUnit;

public class Main {
    protected static void pause() {
        try {//  www  .ja  va2  s  .co m
            TimeUnit.DAYS.sleep(1);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}

Related

  1. parseRelativeTimeInSeconds(String relativeTime)
  2. parseSecondsFromEpoch(Double d)
  3. parseStringDate(String date)
  4. parseTimeMillis(String timeWithOrWithoutUnit)
  5. parseUntilTime(byte[] untilTime)
  6. prettyMillis(long mil)
  7. printTimeMap(Map timeMap)
  8. printTimeString(long time)
  9. printTiming(long start, long end)