public static void setDate(final ObjectNode node, final String fieldName, final Date value) {
        set(node, fieldName, fromDate(value));
    }
constructs a boolean value from a node. If node is null or not boolean, defaultValue is returned.
main/src/main/java/cgeo/geocaching/utils/JsonUtils.java