Code example for Date

Methods: toString

0
			this.requestProperties = new HashMap();
		} 
		// #if polish.Bugs.HttpIfModifiedSince 
		if ("if-modified-since".equals(key.toLowerCase()))
		{ 
			Date d = new Date();
			this.requestProperties.put("IF-Modified-Since", d.toString());
		} 
		// #endif 
 
		this.requestProperties.put(key, value);
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see javax.microedition.io.ContentConnection#getEncoding() 
	 */ 
	public String getEncoding()
	{ 
		try {