public static long getPresetReminder(Long currentReminder) {
    long now = Calendar.getInstance().getTimeInMillis();
    return currentReminder != null && currentReminder > now ? currentReminder : getNextMinute();
  }
@Test
  public void getPresetReminder() {
    var nextHour = Calendar.getInstance().getTimeInMillis() + 60 * 60 * 1000;
    assertEquals(nextHour, DateUtils.getPresetReminder(nextHour));

    var previousMinute = Calendar.getInstance().getTimeInMillis() - 60 * 1000;
    var nextMinute = Calendar.getInstance().getTimeInMillis() + 61 * 1000;
    var presetReminder = DateUtils.getPresetReminder(previousMinute);
    assertTrue(Calendar.getInstance().getTimeInMillis() < presetReminder && presetReminder < nextMinute);
  }