package cn.shiyanjun.platform.api.utils;

public class Time {

	public static long now() {
		return System.currentTimeMillis();
	}
}

@@ -35,16 +35,81 @@
 utils;%0A%0A
+import java.text.DateFormat;%0Aimport java.text.SimpleDateFormat;%0A%0A
 public c
@@ -189,10 +189,765 @@
 s();%0A%09%7D%0A
+%09%0A%09public static String formatCurrentHourTime() %7B%0A%09%09 DateFormat df = new SimpleDateFormat(%22HH:mm:ss%22);%0A%09%09 return df.format(now());%0A%09%7D%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09String start = %2203:00:00%22.replaceAll(%22:%22, %22%22);%0A%09%09String end = %2203:15:30%22.replaceAll(%22:%22, %22%22);%0A%09%09String current = Time.formatCurrentHourTime().replaceAll(%22:%22, %22%22);%0A%09%09int currentTime = Integer.parseInt(current);%0A%09%09System.out.println(start);%0A%09%09System.out.println(end);%0A%09%09System.out.println(current);%0A%09%09%0A%09%09System.out.println();%0A%09%09%0A%09%09System.out.println(Integer.parseInt(start));%0A%09%09System.out.println(Integer.parseInt(end));%0A%09%09System.out.println(currentTime);%0A%09%09if(currentTime %3C Integer.parseInt(start) && currentTime %3E Integer.parseInt(end)) %7B%0A%09%09%09System.out.println(true);%0A%09%09%7D%0A%09%7D%0A
 %7D%0A

Update Time utility class.