Java Second Get currentTimePlusNSeconds(long n)

Here you can find the source of currentTimePlusNSeconds(long n)

Description

current Time Plus N Seconds

License

Apache License

Declaration

public static long currentTimePlusNSeconds(long n) 

Method Source Code

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

public class Main {
    public static long currentTimePlusNSeconds(long n) {
        return currentTimeSeconds() + n;
    }/*  w  ww .  ja  v a  2 s  .c  o m*/

    public static long currentTimeSeconds() {
        return System.currentTimeMillis() / 1000;
    }
}

Related

  1. currentTimeAsSeconds()
  2. currentTimeInSeconds()
  3. currentTimeSecond()
  4. currentTimeSecond()
  5. currentTimeSeconds()
  6. currentTimeSeconds()