diff --git a/src/com/webtimer/control/AnneTimes.java b/src/com/webtimer/control/AnneTimes.java index 3a9c974..0597087 100644 --- a/src/com/webtimer/control/AnneTimes.java +++ b/src/com/webtimer/control/AnneTimes.java @@ -61,6 +61,10 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t logger.debug("Use random times"); CountdownTimer.setRandom(true); break; + case "borrobob_bday": + logger.debug("Is it April 7th already?"); + CountdownTimer.congratulate(); + break; case "testing": logger.debug("Setting the intervals for testing purposes"); CountdownTimer.setAnneTimes(getTimesN_T(3, 5)); diff --git a/src/com/webtimer/timer/CountdownTimer.java b/src/com/webtimer/timer/CountdownTimer.java index a78204b..a1027e3 100644 --- a/src/com/webtimer/timer/CountdownTimer.java +++ b/src/com/webtimer/timer/CountdownTimer.java @@ -102,6 +102,10 @@ public static void setRandom(boolean r) { } } + public static void congratulate() { + logger.debug("Happy Birthday Mister Rob! Congratulations for such an extraordinary year!"); + } + public static boolean getRandom() { return useRandom; }