public QDate(TimeZone zone){
  _timeZone=zone;
  if (zone == _gmtTimeZone) {
    _stdName=_gmtStdName;
    _dstName=_gmtDstName;
  }
 else   if (zone == _localTimeZone) {
    _stdName=_localStdName;
    _dstName=_localDstName;
  }
 else {
    _stdName=_timeZone.getDisplayName(false,TimeZone.SHORT);
    _dstName=_timeZone.getDisplayName(true,TimeZone.SHORT);
  }
  _calendar=new GregorianCalendar(_timeZone);
  setLocalTime(CurrentTime.currentTime());
}

public QDate ( TimeZone zone ) { _timeZone = zone ; if ( zone == _gmtTimeZone ) { _stdName = _gmtStdName ; _dstName = _gmtDstName ; } else if ( zone == _localTimeZone ) { _stdName = _localStdName ; _dstName = _localDstName ; } else { _stdName = _timeZone . getDisplayName ( false , TimeZone . SHORT ) ; _dstName = _timeZone . getDisplayName ( true , TimeZone . SHORT ) ; } _calendar = new GregorianCalendar ( _timeZone ) ; setLocalTime ( CurrentTime . currentTime ( ) ) ; }
creates the date from local or gmt .
