Java Ceil ceilSec(long milli)

Here you can find the source of ceilSec(long milli)

Description

ceil Sec

License

Mozilla Public License

Declaration

public static long ceilSec(long milli) 

Method Source Code

//package com.java2s;
//License from project: Mozilla Public License 

public class Main {
    public static long ceilSec(long milli) {
        return ((milli + 999L) / 1000L) * 1000L;
    }/*from w  ww  .j  a  v a2s . co m*/
}

Related

  1. ceilPow2(int v)
  2. ceilPowerOf2(final long x)
  3. ceilPowerOf2(int x)
  4. ceilPowerOf2Bits(final long x)
  5. ceilPrime(long p)
  6. ceilToBase(int number, int base)
  7. ceilToPowerOfTwo(float value)
  8. ceilToQuarterMs(float f)
  9. ceilU(final float value)