package org.owasp.appsensor.util;

import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;

/**
 * Helper class for Date/time related utility methods
 * 
 * @author John Melton (jtmelton@gmail.com) http://www.jtmelton.com/
 */
public class DateUtils {

	/**
	 * Helper method to grab current time. Returns current 
	 * timestamp used for events/attacks, etc. 
	 * 
	 * @return current time represented as long
	 */
	public static long getCurrentTime() {
		TimeZone tz = TimeZone.getDefault();
		Calendar cal = Calendar.getInstance(tz);
		Date date = cal.getTime();
		long currentTime = date.getTime();
		return currentTime;
	}
	
}

@@ -423,16 +423,33 @@
  as long
+ (unix timestamp)
 %0A%09 */%0A%09p

update javadoc