public class DateMacro extends Object implements Macro<String>
Parse the given value (arg1) using the format (arg2) into another format (arg3). If no second format (arg3) is provided, converts the given value (arg1) into epoch time. Returns a String with the value. Usage: @date("01/30/2017", "mm/dd/yyyy", "dd/mm/yyyy") @date("01/30/2017", "mm/dd/yyyy")
| Constructor and Description |
|---|
DateMacro() |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.