Duration

Defined in framework ScanditIdCapture

SDCDuration
@interface SDCDuration : NSObject

Added in version 7.1.0

Represents a duration of time in terms of days, months, and years.

- initWithDays:months:years:
- (instancetype)initWithDays:(NSInteger)days
                      months:(NSInteger)months
                       years:(NSInteger)years

Added in version 7.1.0

Initializes Duration instance.

+ durationWithDays:months:years:
+ (instancetype)durationWithDays:(NSInteger)days
                          months:(NSInteger)months
                           years:(NSInteger)years

Added in version 7.1.0

Creates a new Duration instance.

days
@property (nonatomic, readonly) NSInteger days

Added in version 7.1.0

The number of days in the duration.

months
@property (nonatomic, readonly) NSInteger months

Added in version 7.1.0

The number of months in the duration.

years
@property (nonatomic, readonly) NSInteger years

Added in version 7.1.0

The number of years in the duration.