@@ -0,0 +1,775 @@
+package com.doctor.commons;%0A%0Aimport com.doctor.beaver.annotation.ThreadSafe;%0A%0A/**%0A * @author sdcuike%0A *         %3Cp%3E%0A *         Created on 2016%E5%B9%B410%E6%9C%889%E6%97%A5%3Cbr/%3E%0A */%0A@ThreadSafe%0Apublic final class TimeUtils %7B%0A    public static final int  Second_In_Day      = 24 * 60 * 60;%0A    public static final long Millisecond_In_Day = Second_In_Day * 1000L;%0A%0A    /**%0A     * %E5%88%A4%E6%96%AD%E5%B9%B4%E4%BB%BD%E6%98%AF%E5%90%A6%E6%98%AF%E9%97%B0%E5%B9%B4%3Cbr%3E%0A     * %E5%9B%9B%E5%B9%B4%E4%B8%80%E9%97%B0%EF%BC%8C%E7%99%BE%E5%B9%B4%E4%B8%8D%E9%97%B0%EF%BC%8C%E5%9B%9B%E7%99%BE%E5%B9%B4%E5%8F%88%E4%B8%80%E9%97%B0.%0A     * %0A     * @param y%0A     * @return %7B@code true%7D %E5%A6%82%E6%9E%9C%E6%98%AF%E9%97%B0%E5%B9%B4%0A     */%0A    public static boolean isLeapYear(int y) %7B%0A        boolean result = false;%0A%0A        if (((y %25 4) == 0) && // %E5%B9%B4%E4%BB%BD%E8%83%BD%E8%A2%AB4%E6%95%B4%E9%99%A4...%0A                ((y %3C 1582) %7C%7C //  %0A                        ((y %25 100) != 0) %7C%7C%0A                        ((y %25 400) == 0))) %7B%0A            result = true;%0A        %7D%0A        return result;%0A    %7D%0A%7D%0A

add TimeUtils