public void getTime(int t) {
System.out.println("Set the timer value in seconds");
t = input.nextInt();

}
That method does exactly nothing. You never use t.