How to set Date value in timeout Task Listener rather than BPM model in java

Hi,
Need help to set Date value of Timeout Event in Task Listener. I dont want to set it in BPM model. Is there way to do it in java code.

public void notify(DelegateTask delegateTask) {
String eventType= delegateTask.getEventName();
//set Date value of timeout Listner

Please guide me is there any java libraries to achieve the same in java code.