Java Minute minutesFromSlots(int slots)

Here you can find the source of minutesFromSlots(int slots)

Description

minutes From Slots

License

Open Source License

Declaration

public static int minutesFromSlots(int slots) 

Method Source Code

//package com.java2s;
/**//  w w w.  ja va2s  .  c  om
 * This file is part of JEMMA - http://jemma.energy-home.org
 * (C) Copyright 2013 Telecom Italia (http://www.telecomitalia.it)
 *
 * JEMMA is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License (LGPL) version 3
 * or later as published by the Free Software Foundation, which accompanies
 * this distribution and is available at http://www.gnu.org/licenses/lgpl.html
 *
 * JEMMA is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License (LGPL) for more details.
 *
 */

public class Main {
    public static final int MINUTES_IN_ONE_TIME_SLOT = 1;

    public static int minutesFromSlots(int slots) {
        return slots * MINUTES_IN_ONE_TIME_SLOT;
    }
}

Related

  1. minutes(int seconds)
  2. minutes2Ms(long minutes)
  3. minutes2seconds(long minutes)
  4. minutesFromEpisode(int episodeNumber, int episodeLength)
  5. minutesFromSecondPadded(int seconds)
  6. mjdInMinutes(double mjd)
  7. nextMinutes(int diff)
  8. normalizeToMinute(Date date)
  9. numberOfMinutesForDays(int days)