Java Milli Second to Minute millisToMinutes(long millis)

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

Description

millis To Minutes

License

Apache License

Declaration

public static long millisToMinutes(long millis) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright 2012 Apigee Corporation//from w w w.j  a va  2s. com
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/

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

Related

  1. millis2minutes(long millis)
  2. millisecondsToMinutes(long ms)
  3. millisecondToMinute(Long millisecond)
  4. millisToMinutes(double millis)
  5. millisToMinutes(final long milliseconds)
  6. milliToHourMinuteString(long millis)
  7. milliToMinutes(long millis)
  8. millsecondsToMinutesAndSeconds(long milliseconds)
  9. minuteMillis()