earliestPermittedSampleDate()
Returns the earliest date permitted for samples.
Declaration
func earliestPermittedSampleDate() -> DateMentioned in
Return Value
The earliest date that samples can use. You cannot save or query samples prior to this date.
Discussion
Attempts to save samples earlier than this date fail with an HKError.Code.errorInvalidArgument error. Attempts to query samples before this date return samples after this date.