Utils class contains basic utilities and constants.
Definition at line 28 of file Utils.java.
◆ getIsoTimestamp()
static String org.openkilda.pce.Utils.getIsoTimestamp |
( |
| ) |
|
|
static |
Return timestamp.
- Returns
- String timestamp
Definition at line 34 of file Utils.java.
◆ safeAsInt()
static int org.openkilda.pce.Utils.safeAsInt |
( |
Value |
val | ) |
|
|
static |
Safe transformation to integer (property value might be stored in neo4j in different types: string, null, etc).
- Parameters
-
- Returns
- 0 if val is null or not parseable, the int otherwise
Definition at line 43 of file Utils.java.
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/pce/src/main/java/org/openkilda/pce/Utils.java