Instance Method (Default implementation)swift 6.0.3FoundationEssentials
input(before:)
- iOS
- 16.4+
- macOS
- 13.3+
- tvOS
- 16.4+
- watchOS
- 9.4+
func input(before input: Self.FormatInput) -> Self.FormatInput?
func input(before input: Self.FormatInput) -> Self.FormatInput?
s20FoundationEssentials19DiscreteFormatStylePAAs8DurationV0D5InputRtzrlE5input6beforeAESgAE_tF
What are these?6XJWQ
where Self.FormatInput == Duration
import FoundationEssentials
protocol DiscreteFormatStyle<FormatInput, FormatOutput> : FormatStyle
A format style that transforms a continuous input into a discrete output and provides information about its discretization boundaries.
associatedtype FormatInput
The type of data to format.
@frozen struct Duration
A representation of high precision time.
func input(before input: Self.FormatInput) -> Self.FormatInput?
The next input value before the given input.
func input(after input: Self.FormatInput) -> Self.FormatInput?