public TimeZoneAdjustment createTimeZoneAdjustment(Date d,int offset){
  ZoneField timeZoneAdjustmentImpl=new ZoneField();
  try {
    Hashtable map=new Hashtable();
    map.put(d,new Integer(offset));
    timeZoneAdjustmentImpl.setZoneAdjustments(map);
  }
 catch (  SdpException s) {
    s.printStackTrace();
  }
  return timeZoneAdjustmentImpl;
}

public TimeZoneAdjustment createTimeZoneAdjustment ( Date d , int offset ) { ZoneField timeZoneAdjustmentImpl = new ZoneField ( ) ; try { Hashtable map = new Hashtable ( ) ; map . put ( d , new Integer ( offset ) ) ; timeZoneAdjustmentImpl . setZoneAdjustments ( map ) ; } catch ( SdpException s ) { s . printStackTrace ( ) ; } return timeZoneAdjustmentImpl ; }
constructs a timezone adjustment record .
