public final class DateTypeConverter extends Object
Modifier and Type | Method and Description |
---|---|
static <D extends Date> |
fromMillis(long millis,
Class<D> type)
Create a Date-related object from a timestamp in millis.
|
public static <D extends Date> D fromMillis(long millis, Class<D> type)
D
- date class to usemillis
- timestamp in millistype
- date type to useCopyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.