Code example for Timestamp

0
	 * @return 
	 */ 
    public static String getTempFileName() 
    { 
    	SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd_HH-mm-ss_SS");
    	String fileName = format.format( new Timestamp( System.currentTimeMillis()) );
    	return fileName;
    } 
     
    /** 
     * 获取照相机使用的目录 
     * @return 
     */ 
    public static String getCamerPath()
    { 
    	return Environment.getExternalStorageDirectory() + File.separator +  "FounderNews" + File.separator;
    } 
     
	/** 
	 * 判断当前Url是否标准的content://样式,如果不是,则返回绝对路径 
Stop searching for code, let great code find you!  Add Codota to your java IDE