예제 #1
0
  public void modify(String modify) {
    DateParser parser = new DateParser(modify, _qDate);

    long time = parser.parse();

    setTime(time);
  }
예제 #2
0
  private void init(Env env, String timeString) {
    long now = env.getCurrentTime();
    _qDate.setGMTTime(now);

    if (timeString.equals("")) {
      _qDate.setHour(0);
      _qDate.setMinute(0);
      _qDate.setSecond(0);
    }

    DateParser parser = new DateParser(timeString, _qDate);

    long time = parser.parse();

    _qDate.setGMTTime(time);
  }