www.pudn.com > WeatherDemo.rar > SimpleSms.java, change:2009-09-24,size:532b


package edu.hrbeu.WeatherDemo.SMS; 
 
import java.text.SimpleDateFormat; 
 
public class SimpleSms { 
	 
	public String Sender; 
	public String Body; 
	public String ReceiveTime; 
	public String ReturnResult; 
 
	public SimpleSms(){ 
		 
	} 
	public SimpleSms(String sender, String body){ 
    	this.Sender = sender; 
    	this.Body = body; 
		SimpleDateFormat tempDate = new SimpleDateFormat("yyyy-MM-dd" + " " + "hh:mm:ss"); 
    	this.ReceiveTime = tempDate.format(new java.util.Date()); 
    	this.ReturnResult = ""; 
	} 
	 
}