Java Minute Convert convertMinutesToMilliseconds(final long minutes)

Here you can find the source of convertMinutesToMilliseconds(final long minutes)

Description

convert Minutes To Milliseconds

License

Open Source License

Declaration

public static long convertMinutesToMilliseconds(final long minutes) 

Method Source Code

//package com.java2s;
/*/*from w ww .  j a  va 2 s.  c o  m*/
 * Copyright (c) 2000-2002 INSciTE.  All rights reserved
 * INSciTE is on the web at: http://www.hightechkids.org
 * This code is released under GPL; see LICENSE.txt for details.
 */

public class Main {
    public static final long SECONDS_PER_MINUTE = 60;
    public static final long MILLISECONDS_PER_SECOND = 1000;

    public static long convertMinutesToMilliseconds(final long minutes) {
        return convertMinutesToSeconds(minutes) * MILLISECONDS_PER_SECOND;
    }

    public static long convertMinutesToSeconds(final long minutes) {
        return minutes * SECONDS_PER_MINUTE;
    }
}

Related

  1. convertHoursToMinutes(final int hours)
  2. convertMillisToHoursMinutesSeconds(long offset)
  3. convertMinute(String targetHhMm)
  4. convertMinuteSecond(double minute, double second)
  5. convertMinutesSecondsToMilliseconds(String offset)
  6. convertMinutesToSeconds(final long minutes)
  7. convertMinutesToSeconds(int minutesToConvert)
  8. convertMsToMinutesAndSeconds(long ms)
  9. convertOffsetToMinutesSeconds(int offset)