Java Second Convert convertSecondsToMillies(final long seconds)

Here you can find the source of convertSecondsToMillies(final long seconds)

Description

convert Seconds To Millies

License

Apache License

Declaration

public static long convertSecondsToMillies(final long seconds) 

Method Source Code

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

public class Main {
    public static final long SECOND_IN_MILLIES = 1000L,
            MINUTE_IN_MILLIES = 60000L, HOUR_IN_MILLIES = 3600000L,
            DAY_IN_MILLIES = 86400000L;

    public static long convertSecondsToMillies(final long seconds) {
        return seconds * SECOND_IN_MILLIES;
    }//w w  w.j  a  v a 2s .  c o  m
}

Related

  1. convertMsToFloatSeconds(final long timeMs)
  2. convertSeconds(String sStartSeconds, String sEndSeconds)
  3. convertSecondsToDays(double secs)
  4. convertSecondsToMiliseconds(double seconds)
  5. convertSecondsToMiliseconds(int secondsToConvert)
  6. convertSecondsToString(double seconds)
  7. convertSecondsToTime(int seconds)
  8. convertSecondsToTime(int totalSecs)
  9. convertSecondsToTimecode(float totalSeconds)