API Reference
Defined under the namespace Scandit.Datacapture.Id
class Duration
Added in version 7.1.0
Represents a duration of time in terms of days, months, and years.
constructor(days: number, months: number, years: number)
Creates a new Duration instance.
get days(): number
The number of days in the duration.
get months(): number
The number of months in the duration.
get years(): number
The number of years in the duration.