{"repo":"holonk/retail-calendar","free":true,"listed":false,"github":"https://github.com/holonk/retail-calendar","clone":"git clone https://github.com/holonk/retail-calendar.git","description":"A configurable merchandising and retail calendar generator.","language":"TypeScript","stars":17,"topics":["calendar","retail","merchandise","gregorian-calendar","4-5-4-calendar","financial-calendar","nrf-calendar"],"license":"MIT","category":"productivity","readme_excerpt":"Retail Calendar A configurable merchandising and retail calendar generator. For a given year and configuration, generates merchandising calendar along with Gregorian boundaries. It can be used for generating all calendar types, including NRF 4-5-4 calendar, 4-4-5 calendar or Gregorian calendar. Installation Using npm: Usage: Instantiate RetailCalendarFactory with preferred options. A retail calendar either has 52 or 53 weeks. A retail calendar always has 12 months. A retail calendar has quarter of year and week of quarter Both Month and Week has quarter information The week also has week of quarter: Each month consist of complete weeks. Month boundaries are always at the end of week. End of week is given in lastDayOfWeek option. Number of weeks for each month is defined in weekGrouping option. Each month start and end boundaries expressed in Gregorian calendar. All weeks in a retail calendar are also directly accessible. Each week also has boundaries available in Gregorian calendar. 53 week years Based on given configuration, a year may contain 53 weeks. Restated ⚠ previous versions of this library used the LeapYearStrategy option to configure restated behavior. This is no longer supported. All 53 week calendars are not restated ⚠ Dropping Last Week LAST week of year is \"dropped\" for 53-week years. This is the default behavior. ⚠ previous versions of this library returned weekOfYear as -1, this is no longer the case. Last week's weekOfYear is 52 ⚠ Add Leap Week to Month If ad","default_branch":null,"files":null,"tree":[],"storefront":"/r/holonk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/holonk/retail-calendar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}