Methods

Name Type Description
$year.toInteger() Integer

This year as number.

$year.toString() String

This year formatted using a standard format pattern.

$year.toString(pattern) String

This year formatted using the specified format pattern.

Parameter Type Description
pattern String