Here you can find the source of minutes2seconds(long minutes)
private static long minutes2seconds(long minutes)
//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 v a2s. co m*/ * Pivotal Software, Inc. - initial API and implementation *******************************************************************************/ public class Main { private static long minutes2seconds(long minutes) { return minutes * 60; } }