public class DateUtil extends Object
Modifier and Type | Field and Description |
---|---|
static long |
ONE_DAY_MILLIS |
static long |
ONE_DAY_SECONDS |
static long |
ONE_HOUR_MILLIS |
static long |
ONE_HOUR_SECONDS |
static long |
ONE_WEEK_MILLIS |
static long |
ONE_WEEK_SECONDS |
static long |
SIX_MONTHS_SECONDS |
Constructor and Description |
---|
DateUtil() |
Modifier and Type | Method and Description |
---|---|
static Date |
getCurrentDateAfterFactoringInDateResolution(Date cachedDate,
Long currentDateResolution) |
static boolean |
isActive(Date startDate,
Date endDate,
boolean includeTime) |
public static final long ONE_HOUR_MILLIS
public static final long ONE_DAY_MILLIS
public static final long ONE_WEEK_MILLIS
public static final long ONE_HOUR_SECONDS
public static final long ONE_DAY_SECONDS
public static final long ONE_WEEK_SECONDS
public static final long SIX_MONTHS_SECONDS
Copyright © 2020. All rights reserved.