Using dateutil.rrule

This commit is contained in:
2018-02-27 00:42:38 +01:00
parent 2956827c72
commit 2f1c4d09dc
2 changed files with 60 additions and 65 deletions

View File

@@ -1,38 +1,52 @@
#see http://dateutil.readthedocs.io/en/stable/rrule.html
# see http://dateutil.readthedocs.io/en/stable/rrule.html
# freq, dtstart=None, interval=1, wkst=None, count=None, until=None, bysetpos=None,
# bymonth=None, bymonthday=None, byyearday=None, byeaster=None, byweekno=None, byweekday=None,
# byhour=None, byminute=None, bysecond=None, cache=False
# Where freq must be one of YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY, or SECONDLY.
reglement_piano:
periodicity: monthly
date-begin: -4
date-end: -1
start:
freq: MONTHLY
bymonthday: -5
duration:
days: 5
title: Règlement Piano
body: 578236
priority: 1
loyer:
periodicity: monthly
date-begin: 1
date-end: 10
start:
freq: MONTHLY
bymonthday: 1
duration:
days: 10
title: Loyer
body: https://fr.foncia.com/login\nA797GEA4EP23F
priority: 1
declaration_polemploi:
periodicity: monthly
date-begin: 1
date-end: 10
start:
freq: MONTHLY
bymonthday: 1
duration:
days: 10
title: Déclaration Pôle Emploi
body: N/A
priority: 1
declaration_ae:
periodicity: monthly
only: 1,4,7,10
date-begin: 1
date-end: 10
start:
freq: MONTHLY
bymonthday: 1
bymonth: [1,4,7,10]
duration:
days: 30
title: Déclaration AE
body: N/A
priority: 1
facturation_x2i:
periodicity: monthly
date-begin: -4
date-end: -1
start:
freq: MONTHLY
bymonthday: -4
duration:
days: 4
title: Facture X2I
body: N/A
priority: 1