Duration.UnitsFormatStyle.FractionalPartDisplayStrategy
struct · iOS 16.0+ · SDK 27.1
struct FractionalPartDisplayStrategySpecifies how a duration is displayed if it cannot be represented exactly with the allowed units. For example, you can change this option to show a duration of 1 hour and 15 minutes as "1.25 hr", "1 hr", or "1.5 hr" with different lengths and rounding rules when hour is the only allowed unit.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
12 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.minimumLength
The iOS SDK compiler rejected this binding: 'UnitsFormatStyle' is not a member type of struct 'Darwin.Duration' (aka 'Swift.Int32')
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.minimumLength
The iOS SDK compiler rejected this binding: 'UnitsFormatStyle' is not a member type of struct 'Darwin.Duration' (aka 'Swift.Int32')
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.maximumLength
The iOS SDK compiler rejected this binding: 'UnitsFormatStyle' is not a member type of struct 'Darwin.Duration' (aka 'Swift.Int32')
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.maximumLength
The iOS SDK compiler rejected this binding: 'UnitsFormatStyle' is not a member type of struct 'Darwin.Duration' (aka 'Swift.Int32')
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.roundingRule
The iOS SDK compiler rejected this binding: 'UnitsFormatStyle' is not a member type of struct 'Darwin.Duration' (aka 'Swift.Int32')
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.roundingRule
The iOS SDK compiler rejected this binding: 'UnitsFormatStyle' is not a member type of struct 'Darwin.Duration' (aka 'Swift.Int32')
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.roundingIncrement
The iOS SDK compiler rejected this binding: 'UnitsFormatStyle' is not a member type of struct 'Darwin.Duration' (aka 'Swift.Int32')
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.roundingIncrement
The iOS SDK compiler rejected this binding: 'UnitsFormatStyle' is not a member type of struct 'Darwin.Duration' (aka 'Swift.Int32')
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.init(lengthLimits:roundingRule:roundingIncrement:)
The iOS SDK compiler rejected this binding: type 'Duration' (aka 'Int32') has no member 'UnitsFormatStyle'
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.show(length:rounded:increment:)
The iOS SDK compiler rejected this binding: type 'Duration' (aka 'Int32') has no member 'UnitsFormatStyle'
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.hide
The iOS SDK compiler rejected this binding: type 'Duration' (aka 'Int32') has no member 'UnitsFormatStyle'
Duration.UnitsFormatStyle.FractionalPartDisplayStrategy.hide(rounded:)
The iOS SDK compiler rejected this binding: type 'Duration' (aka 'Int32') has no member 'UnitsFormatStyle'