Skip to content

'dateComponents' is inaccessible due to 'internal' protection level #295

@LilMoke

Description

@LilMoke

Hello,

I am receiving the message: 'dateComponents' is inaccessible due to 'internal' protection level

on the following line:

let datePeriod = TimePeriod(beginning: startDate!, chunk: TimeChunk.dateComponents(minutes: duration))

I understand why, but how can I accomplish creating a TimeChunk from the minutes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions