Java Millisecond Convert millisToNanos(int i)

Here you can find the source of millisToNanos(int i)

Description

millis To Nanos

License

Apache License

Declaration

public static long millisToNanos(int i) 

Method Source Code

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

public class Main {
    private static final long nanosInMillisecond = 1000000L;

    public static long millisToNanos(int i) {
        return i * nanosInMillisecond;
    }//from   w w  w .  j a va2s  .  c o  m
}

Related

  1. millisToLongDHMS(long duration)
  2. millisToLongDHMS(long duration)
  3. millisToLongDHMS(long duration, String pubDate)
  4. millisToLongM(long duration)
  5. millisToNanos(final long millis)
  6. millisToNanos(long millis)
  7. millisToNanos(long millis)
  8. millisToSecond(long millisecond)
  9. millisToSeconds(final long millis)