Commit d58e15d
authored
Refactor SubscriptionType to remove SUPPORTED_DURATIONS
Removed the SUPPORTED_DURATIONS constant and updated the time_aligned method to check if the duration is a multiple of the number of seconds in a day.1 parent 9867e82 commit d58e15d
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | 286 | | |
291 | 287 | | |
292 | 288 | | |
| |||
308 | 304 | | |
309 | 305 | | |
310 | 306 | | |
311 | | - | |
| 307 | + | |
312 | 308 | | |
313 | 309 | | |
314 | 310 | | |
315 | 311 | | |
316 | 312 | | |
317 | | - | |
| 313 | + | |
318 | 314 | | |
319 | 315 | | |
320 | 316 | | |
| |||
0 commit comments