Using Java to set scheduling for my cloudbit to activate

How do i set scheduling mechanism in Java for cloudbit?

this is what i have so far -

@Override
// Add your task here
public void run() {
Calendar breakfast = Calendar.getInstance();
breakfast.set(Calendar.HOUR_OF_DAY, 14);
breakfast.set(Calendar.MINUTE, 1);
breakfast.set(Calendar.SECOND, 0);
Date time = breakfast.getTime();
Timer timer;

    timer = new Timer();
    timer.schedule(new , time);
    breakfast = new Date(); // initialize date
    System.out.println("Time is :" + breakfast); // Display current time
}