Hi,
I have a simple method in java that accepts the Hour, Min, Sec as parameters. I neeed to compare this time with the current time and find if it is before or after the curent time?
Is there a simpler way to do this in java..
the method looks lik this:
public boolean isTimeBefore(int hh24,int min, int sec){
//*...logic to check if the time passed is greater than the current time
}
thanks in advance
pat
I have a simple method in java that accepts the Hour, Min, Sec as parameters. I neeed to compare this time with the current time and find if it is before or after the curent time?
Is there a simpler way to do this in java..
the method looks lik this:
public boolean isTimeBefore(int hh24,int min, int sec){
//*...logic to check if the time passed is greater than the current time
}
thanks in advance
pat