Here you can find the source of minutesFromEpisode(int episodeNumber, int episodeLength)
Parameter | Description |
---|---|
episodeNumber | The episode number |
episodeLength | The length of an episode |
public static int minutesFromEpisode(int episodeNumber, int episodeLength)
//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; } }