public class DateUtils extends Object
| Constructor and Description |
|---|
DateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<? extends LocalDate> |
getCollectionOfLocalDates(ZonedDateTime from,
ZonedDateTime to) |
static Collection<? extends LocalDate> |
getCollectionOfLocalDates(ZonedDateTime from,
ZonedDateTime to,
int max) |
static Collection<? extends LocalDate> |
getCollectionOfLocalDatesBetweenDateExclusive(ZonedDateTime from,
ZonedDateTime to) |
static ZonedDateTime |
parseDate(String date) |
static String |
printDate(ZonedDateTime date) |
static String |
printDateTimeExcel(ZonedDateTime date) |
static String |
printMonthOnlyDate(ZonedDateTime date) |
static String |
printSimpleDate(LocalDate date) |
static String |
printSimpleDate(ZonedDateTime date) |
public static ZonedDateTime parseDate(String date)
public static String printDateTimeExcel(ZonedDateTime date)
public static String printDate(ZonedDateTime date)
public static String printSimpleDate(ZonedDateTime date)
public static String printMonthOnlyDate(ZonedDateTime date)
public static Collection<? extends LocalDate> getCollectionOfLocalDates(ZonedDateTime from, ZonedDateTime to)
public static Collection<? extends LocalDate> getCollectionOfLocalDates(ZonedDateTime from, ZonedDateTime to, int max)
public static Collection<? extends LocalDate> getCollectionOfLocalDatesBetweenDateExclusive(ZonedDateTime from, ZonedDateTime to)
Copyright © 2017. All rights reserved.