Java Millisecond Format millis2seconds(long millis)

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

Description

millisseconds

License

Open Source License

Declaration

private static long millis2seconds(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   w  w w  .j  a va2s  . c o  m*/
 * Pivotal Software, Inc. - initial API and implementation
 *******************************************************************************/

public class Main {
    private static long millis2seconds(long millis) {
        return millis / 1000;
    }
}

Related

  1. getTime(long timeInMillis, SimpleDateFormat dateFormat)
  2. getTimeInMillis(String dateString, String format)
  3. microseconds2milliseconds(double us)
  4. millis2hms(final long t)
  5. millis2samples(long ms, double sampleRate)
  6. millis2String(long n)
  7. millisAsTicks(int ms)
  8. milliseconds2String(long millis)
  9. millisecondsPerTick(final int tps)