[New] Added DateParameter.getValueLdt() and .getValueZdt()
This commit is contained in:
parent
e017c98048
commit
02d266f694
|
@ -97,6 +97,14 @@ public class DateParameter extends AbstractParameter<Date> {
|
|||
return Date.from(this.value.toInstant());
|
||||
}
|
||||
|
||||
public ZonedDateTime getValueZdt() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public LocalDateTime getValueLdt() {
|
||||
return this.value.toLocalDateTime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setValue(Date value) {
|
||||
assertNotReadonly();
|
||||
|
|
Loading…
Reference in New Issue