Package | Description |
---|---|
net.bluemind.core.api.date |
Modifier and Type | Field and Description |
---|---|
BmDateTime.Precision |
BmDateTime.precision
Precision in the form of Date or DateTime
|
Modifier and Type | Method and Description |
---|---|
static BmDateTime.Precision |
BmDateTime.Precision.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BmDateTime.Precision[] |
BmDateTime.Precision.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static BmDateTime |
BmDateTimeWrapper.create(java.time.LocalDateTime localDateTime,
BmDateTime.Precision precision)
Timezone will be set to UTC.
|
static BmDateTime |
BmDateTimeWrapper.create(java.lang.String iso8601,
BmDateTime.Precision precision)
Creates a BmDateTime based on a string and a precision.
|
static BmDateTime |
BmDateTimeWrapper.create(java.lang.String iso8601,
java.lang.String timezone,
BmDateTime.Precision precision)
Creates a BmDateTime based on a string, a timezone and a precision.
|
static BmDateTime |
BmDateTimeWrapper.create(java.time.ZonedDateTime dateTime,
BmDateTime.Precision precision)
Timezone will be set after
ZonedDateTime.getZone() . |
static BmDateTime |
BmDateTimeWrapper.fromTimestamp(long timestamp,
java.lang.String timezone,
BmDateTime.Precision precision)
Creates a BmDateTime based on a timestamp, a timezone and a precision.
|
Constructor and Description |
---|
BmDateTime(java.lang.String iso8601,
java.lang.String timezone,
BmDateTime.Precision precision) |
Copyright © 2021. All Rights Reserved.