Java Minute minutesFromEpisode(int episodeNumber, int episodeLength)

Here you can find the source of minutesFromEpisode(int episodeNumber, int episodeLength)

Description

Get the elapsed minutes based off the episode number

License

Open Source License

Parameter

Parameter Description
episodeNumber The episode number
episodeLength The length of an episode

Return

The elapsed time

Declaration

public static int minutesFromEpisode(int episodeNumber, int episodeLength) 

Method Source Code

//package com.java2s;
/**//from   w w  w  .  j  a  v  a 2 s  .com
 * Distributed as part of Fwap'a Derp UHC. A UHC plugin for Spigot 1.9
 * made by Ashrynn Macke (Flutterflies). You should have received a copy
 * of the MIT license with this code, if not please find it here:
 * https://opensource.org/licenses/MIT
 */

public class Main {
    /**
     * Get the elapsed minutes based off the episode number
     *
     * @param episodeNumber The episode number
     * @param episodeLength The length of an episode
     * @return The elapsed time
     */
    public static int minutesFromEpisode(int episodeNumber, int episodeLength) {
        return episodeLength * episodeNumber;
    }
}

Related

  1. minutes(int minutes)
  2. minutes(int num)
  3. minutes(int seconds)
  4. minutes2Ms(long minutes)
  5. minutes2seconds(long minutes)
  6. minutesFromSecondPadded(int seconds)
  7. minutesFromSlots(int slots)
  8. mjdInMinutes(double mjd)
  9. nextMinutes(int diff)