[New] Added DateParameter.getValueLdt() and .getValueZdt()

This commit is contained in:
Robert von Burg 2020-07-01 11:38:43 +02:00
parent e017c98048
commit 02d266f694
1 changed files with 8 additions and 0 deletions

View File

@ -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();