Code example for TimeZone

Methods: getID, getRawOffset

0
	 * device that generated this survey response at the time it was generated. 
	 *  
	 * @return The phone's timezone. 
	 */ 
	public final TimeZone getTimezone() {
		return new SimpleTimeZone(timezone.getRawOffset(), timezone.getID());
	} 
 
	/** 
	 * Returns the campaign-wide unique identifier for this survey response. 
	 *  
	 * @return The unique identifier for the survey for which this is a  
	 * 		   response. 
	 */ 
	public final String getSurveyId() {
		return surveyId;
	} 
 
	/** 
	 * Returns context information from the phone when this survey was  
	 * launched.