Type MethodFoundationInternationalization
julianModified(minimumLength:)
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
The field length specifies the minimum number of digits, with zero-padding as necessary. This is different from the conventional Julian day number in two regards. First, it demarcates days at local zone midnight, rather than noon GMT. Second, it is a local number; that is, it depends on the local time zone. It can be thought of as a single number that encompasses all the date-related fields. For example,
2451334.static func julianModified(minimumLength: Int = 1) -> Date.FormatStyle.Symbol.Day