(value, options)
| 196 | } |
| 197 | |
| 198 | static parse(value, options) { |
| 199 | if (value === null) { |
| 200 | return value; |
| 201 | } |
| 202 | if (options && moment.tz.zone(options.timezone)) { |
| 203 | value = moment.tz(value.toString(), options.timezone).toDate(); |
| 204 | } |
| 205 | return value; |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * avoids appending TO_TIMESTAMP_TZ in _stringify |