public class DateMacro extends Object implements Macro<Unescaped<String>>
Parse the given value (arg1) using the format (arg2).
Returns a String with the value of the date parsed into DateTimeFormatter.ISO_LOCAL_DATE_TIME which
is the date format that Graql accepts.
Usage:
@date("01/30/2017", "mm/dd/yyyy")
| Constructor and Description |
|---|
DateMacro() |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.