Java Milli Second to Minute millis2minutes(long millis)

Here you can find the source of millis2minutes(long millis)

Description

millisminutes

License

Open Source License

Declaration

public static long millis2minutes(long millis) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2012 Pivotal Software, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors://from  ww  w  . java 2 s.  c o  m
 * Pivotal Software, Inc. - initial API and implementation
 *******************************************************************************/

public class Main {
    public static long millis2minutes(long millis) {
        return millis / (1000 * 60);
    }
}

Related

  1. daysHoursMinutes(long p_milliseconds)
  2. daysHoursMinutesToMillis(String expression)
  3. hoursMinutes(long p_milliseconds)
  4. isLessThanMinute(final long timeInMillis)
  5. isSameMinuteOfMillis(final long ms1, final long ms2)
  6. millisecondsToMinutes(long ms)
  7. millisecondToMinute(Long millisecond)
  8. millisToMinutes(double millis)
  9. millisToMinutes(final long milliseconds)