16 package org.openkilda.pce;
18 import lombok.extern.slf4j.Slf4j;
19 import org.neo4j.driver.v1.Value;
21 import java.time.ZonedDateTime;
22 import java.time.format.DateTimeFormatter;
35 return ZonedDateTime.now().format(DateTimeFormatter.ISO_INSTANT);
47 asInt = Integer.parseInt(val.asObject().toString());
48 }
catch (Exception e) {
49 log.info(
"Exception trying to get an Integer; the String isn't parseable. Value: {}", val);
static String getIsoTimestamp()
static int safeAsInt(Value val)