コード例 #1
0
  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);
  }
コード例 #2
0
  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);
  }