[Fix] Fixed ZonedDateTime field
This commit is contained in:
parent
43ada810fb
commit
04af0964ef
|
@ -46,3 +46,5 @@ Thumbs.db
|
|||
# Netbeans IDE files
|
||||
/nbproject/private/
|
||||
/nbproject/
|
||||
|
||||
*.lock
|
||||
|
|
|
@ -35,7 +35,7 @@ public class Test {
|
|||
public static void main(String[] args) {
|
||||
try (StrolchTransaction tx = openTx(realmName)) {
|
||||
Resource resource = tx.getResourceBy("MyType", "myResource");
|
||||
Date date = resource.getDate("myBag", "myParam1");
|
||||
ZonedDateTime date = resource.getDate("myBag", "myParam1");
|
||||
logger.info("myParam date has value " + date);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue