package com.spiddekauga.utils;

/**
 * Various time methods
 */
public class Time {
/**
 * Causes the currently executing thread to sleep (temporarily cease
 * execution) for the specified number of milliseconds, subject to
 * the precision and accuracy of system timers and schedulers. The thread
 * does not lose ownership of any monitors.
 * @param millis the length of time to sleep in milliseconds
 * @throws IllegalArgumentException if the value of {@code millis} is negative
 */
public static void sleep(long millis) {
	try {
		Thread.sleep(millis);
	} catch (InterruptedException e) {
		e.printStackTrace();
	}
}
}

@@ -29,59 +29,420 @@
 s;%0A%0A
-/**%0A * Various time methods%0A */%0Apublic class Time %7B
+import java.text.SimpleDateFormat;%0Aimport java.util.Locale;%0A%0A/**%0A * Various time methods%0A */%0Apublic class Time %7B%0A/** ISO Date */%0Apublic static final String ISO_DATE = %22yyyy-MM-dd'T'HH:mm:ss.SSSX%22;%0A%0A/**%0A * Create a simple date format from the ISO date%0A * @return simple date format with ISO date%0A */%0Apublic static SimpleDateFormat createIsoDateFormat() %7B%0A%09return new SimpleDateFormat(ISO_DATE, Locale.ENGLISH);%0A%7D%0A
 %0A/**
@@ -510,19 +510,16 @@
 ly cease
-%0A *
  executi
@@ -539,16 +539,19 @@
 pecified
+%0A *
  number 
@@ -577,19 +577,16 @@
 bject to
-%0A *
  the pre
@@ -637,16 +637,19 @@
 edulers.
+%0A *
  The thr
@@ -651,19 +651,16 @@
 e thread
-%0A *
  does no

Add default ISO time formatter