Click or drag to resize

DurationFormatter Fields

The DurationFormatter type exposes the following members.

Fields
  NameDescription
Public fieldArgument
Data value which contains the duration in seconds.
Public fieldDaysSymbol
Text to show after the days value, if shown.
Public fieldHoursSymbol
Text to show after the hours value, if shown.
Public fieldMinutesSymbol
Text to show after the minutes value, if shown.
Public fieldSecondsSymbol
Text to show after the seconds value, if shown.
Public fieldTimeUnits

How many time units to show.

Example: If set to two, will show hours and minutes if specified time is shorter than a day, or minutes and seconds if specified time is shorter than an hour.

Top
See Also