VMF_WidgetTime
enum VMF_WidgetTime
Locale-aware formatting of absolute instants. Native-zone context is only added for attended meetings whose scheduled zone differs from the member’s current zone.
-
Declaration
Swift
static func start(_ occurrence: VMF_WidgetOccurrence, relativeTo date: Date, timeZone: TimeZone = .autoupdatingCurrent, locale: Locale = .autoupdatingCurrent) -> String -
Declaration
Swift
static func span(_ occurrence: VMF_WidgetOccurrence, relativeTo date: Date, timeZone: TimeZone = .autoupdatingCurrent, locale: Locale = .autoupdatingCurrent) -> String -
Declaration
Swift
static func nativeTime(_ occurrence: VMF_WidgetOccurrence, timeZone: TimeZone = .autoupdatingCurrent, locale: Locale = .autoupdatingCurrent) -> String?
View on GitHub