bucket
Bucket is a contiguous non-empty range of days and consists of the followings:
- bucket name
- start date
- end date
The date range represents a bucket which begins from the bucket start date up to the bucket end date, excluding the bucket end date. The subsequent bucket starts on the same date as the end date of the previous bucket.
This example represents two adjacent buckets with seven days duration (each):
Bucket name | Bucket start date | Bucket end date |
---|---|---|
FY19 W01 | 31-Dec-2018 | 07-Jan-2019 |
FY19 W02 | 07-Jan-2019 | 14-Jan-2019 |
Note:
- The first bucket span starts from 31-Dec-2018 to 07-Jan-2019, excluding the date 07-Jan-2019.
- The second bucket span starts from 07-Jan-2019 to 14-Jan-2019, excluding the date 14-Jan-2019.