public class DefaultMapUserFactory extends Object implements java.util.function.Function<Map<String,?>,User>
| Modifier and Type | Field and Description |
|---|---|
protected static java.time.ZoneId |
UTC_ZONE_ID |
| Constructor and Description |
|---|
DefaultMapUserFactory() |
| Modifier and Type | Method and Description |
|---|---|
User |
apply(Map<String,?> data) |
protected static java.time.ZonedDateTime |
fromEpochSeconds(long seconds) |
protected static java.time.ZonedDateTime |
getZonedDateTime(Map<String,?> data,
String... propertyNames) |
protected static boolean |
isNumber(String s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identitypublic User apply(Map<String,?> data)
apply in interface java.util.function.Function<Map<String,?>,User>protected static java.time.ZonedDateTime getZonedDateTime(Map<String,?> data, String... propertyNames)
protected static boolean isNumber(String s)
protected static java.time.ZonedDateTime fromEpochSeconds(long seconds)
Copyright © 2017. All rights reserved.