duration->year

duration->year is a member in the Durations group; call it on the receiver shown before the arrow.

Target member

Signature

1duration->year

duration->year is a member in the Durations group; call it on the receiver shown before the arrow.

duration->year is called with member syntax on a receiver value. duration->year handles calendar, duration, or formatting behavior. Store values in structured date or duration form and format them only when presenting text.

Examples

Basic call

1duration->year
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.