org.encog.util.time
Class NumericDateUtil
java.lang.Object
org.encog.util.time.NumericDateUtil
public class NumericDateUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YEAR_OFFSET
public static final int YEAR_OFFSET
- See Also:
- Constant Field Values
MONTH_OFFSET
public static final int MONTH_OFFSET
- See Also:
- Constant Field Values
HOUR_OFFSET
public static final int HOUR_OFFSET
- See Also:
- Constant Field Values
MINUTE_OFFSET
public static final int MINUTE_OFFSET
- See Also:
- Constant Field Values
NumericDateUtil
public NumericDateUtil()
date2Long
public static long date2Long(Date time)
long2Date
public static Date long2Date(long l)
stripTime
public static Date stripTime(Date time)
haveSameDate
public static boolean haveSameDate(Date d1,
Date d2)
int2Time
public static Date int2Time(Date date,
int i)
time2Int
public static int time2Int(Date time)
getYear
public static int getYear(long date)
getMonth
public static int getMonth(long l)
getMinutePeriod
public static int getMinutePeriod(int time,
int period)
combine
public static long combine(long date,
int time)
GetDayOfWeek
public static int GetDayOfWeek(long p)
Copyright © 2014. All Rights Reserved.