private long getEndTime() { final Time time = new Time(); time.hour = 23; time.minute = 59; time.second = 59; time.normalize(false); return TimeUtils.toDateTime(getView().getEndDate(), time); }
private long getStartTime() { final Time time = new Time(); time.hour = 0; time.minute = 0; time.second = 0; time.normalize(false); return TimeUtils.toDateTime(getView().getStartDate(), time); }