Java Milliseconds megaCyclesToMilliseconds(long megaCycles)

Here you can find the source of megaCyclesToMilliseconds(long megaCycles)

Description

mega Cycles To Milliseconds

License

Open Source License

Declaration

static long megaCyclesToMilliseconds(long megaCycles) 

Method Source Code

//package com.java2s;

public class Main {
    private static final double MCYCLES_PER_SECOND = 1200.0;

    static long megaCyclesToMilliseconds(long megaCycles) {
        return (long) (1000 * megaCycles / MCYCLES_PER_SECOND);
    }/*from  w w w .ja va 2 s .  com*/
}

Related

  1. hhmmssToMillis(String text)
  2. humanDateToMillisecondsWithoutException(String date)
  3. isSameSecondOfMillis(final long ms1, final long ms2)
  4. longToDate(long millis)
  5. marsTimeFromElapsedMillis(long elapsedMillis, int[] marsTime)
  6. microsToMillis(long micros)
  7. microsToMillis(long sec, long usec)
  8. milliDate(String date)
  9. millisBetween(Date firstDate, Date lastDate)