Loading

mapper.year

mapper

This mapper function returns the year of the tick for which it is computed.

The mapper.year function can be applied to values of any type.

mapper.year is available since version 1.0.0.

See also

Signatures

Examples

[ NEWGTS 1380000000003189 NaN NaN NaN 42.0 ADDVALUE 1418910910000000 NaN NaN NaN 123.0 ADDVALUE 1419220920000000 NaN NaN NaN 211.0 ADDVALUE 1421530930000000 NaN NaN NaN 132.0 ADDVALUE 'UTC' mapper.year 0 0 0 ] MAP