Java Minute Get getReminderMinutes(int option)

Here you can find the source of getReminderMinutes(int option)

Description

get Reminder Minutes

License

Open Source License

Declaration

public static int getReminderMinutes(int option) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int getReminderMinutes(int option) {
        int reminderMins;
        switch (option) {
        case '0':
            reminderMins = 5;/*ww w.  jav a  2  s .c o  m*/
            break;
        case '1':
            reminderMins = 60;
            break;
        case '2':
            reminderMins = 60 * 12;
            break;
        case '3':
            reminderMins = 60 * 24;
            break;
        default:
            reminderMins = 5;
            break;
        }
        return reminderMins;
    }
}

Related

  1. getOffMinutes(long l)
  2. getOffMinutes(long timestamp)
  3. getRawMinutes(int m)
  4. getRemainingMinutes(final long ms)
  5. getRemainingMinutes(int minutes)
  6. getSecondsByMinutes(int minutes)
  7. getTimeFromMinutes(final int minutes)
  8. getTimeInEpoch(int offSetInMinutes)
  9. getTimeInMinuteResolution(long timeMillis)