add commandline args and very basic esper processing
This commit is contained in:
12
src/main/java/EPLHelpers.java
Normal file
12
src/main/java/EPLHelpers.java
Normal file
@ -0,0 +1,12 @@
|
||||
import java.util.Date;
|
||||
import java.util.Calendar;
|
||||
|
||||
|
||||
public class EPLHelpers {
|
||||
|
||||
public static int getHour(Date date) {
|
||||
Calendar c = Calendar.getInstance();
|
||||
c.setTime(date);
|
||||
return c.get(Calendar.HOUR_OF_DAY);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user