diff --git a/.gitignore b/.gitignore index a921334..b062ccf 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,5 @@ Thumbs.db # Netbeans IDE files /nbproject/private/ /nbproject/ + +*.lock diff --git a/content/api/_index.md b/content/api/_index.md index 11fe656..dfe57a6 100644 --- a/content/api/_index.md +++ b/content/api/_index.md @@ -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); } }