This directory generates month folders.

Hierarchy (view full)

  • CachedDirectory<{
        month: number;
        year: number;
    }>
    • MonthsDirectory

Constructors

Methods

  • Mark all cached values out of date that happened after the timeOfEarliestChange.

    Note: The individual implementations decide whether to invalidate the content of a folder. At the moment all implementations adhere to the >= timeOfEarliestChange rule, but this might change.

    Parameters

    • timeOfEarliestChange: Date

    Returns void

  • Needs to return whether the content of a sub-directories has to be updated (cache needs to be invalidated).

    Parameters

    • month: string
    • timeOfEarliestChange: Date

    Returns boolean

  • This implementation needs to return the parameters that are forwarded to the sub-directory based on the value that was initially returned by the iterator.

    Parameters

    • month: string

    Returns {
        month: number;
        year: number;
    }

    • month: number
    • year: number