I have created a custom annotation and it's working for 1'st program but not for 2'nd. I am not able to figure out what's wrong in the second one. Can anyone please explain:
Below Program is working:
@Schedule(dayOfMonth="last")
public void Calendar() {
//Some Code goes Here.
}
Below Program not working:
@Event(startTime="22-Jun-2013")
@Event(startTime="22-June-2013", duration="21 Hours")
public void Calendar() {
//Some Code goes Here.
}