Code example for Time

Methods: normalizeparse

0
	public static long revertUtcToMillis (String time) {
		if (time == null || time.length() == 0) {
			return 0; 
		} 
		try { 
		mTime.parse(time);
		} catch (TimeFormatException e) {
			e.printStackTrace();
			return 0; 
		} 
		return mTime.normalize(true);		
	}	 
	 
}