public class DateKits extends Object
| 构造器和说明 |
|---|
DateKits() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
getMonthLength(Date date)
获取某个月有多少天, 考虑闰年等因数, 移植Jodd Core的TimeUtil
copy from vjtools
|
static int |
getMonthLength(int year,
int month)
获取某个月有多少天, 考虑闰年等因数, 移植Jodd Core的TimeUtil
copy from vjtools
|
static boolean |
isLeapYear(Date date)
是否闰年.
|
static boolean |
isLeapYear(int y)
是否闰年,copy from Jodd Core的TimeUtil
参数是公元计数, 如2016
copy from vjtools
|
public static boolean isLeapYear(Date date)
copy from vjtools
public static boolean isLeapYear(int y)
参数是公元计数, 如2016
copy from vjtools
public static int getMonthLength(Date date)
copy from vjtools
public static int getMonthLength(int year,
int month)
copy from vjtools
Copyright © 2020. All rights reserved.