version: 0
type: calendar
id: tarsan-standard-calendar

cycles:
  - id: nanca
    type: repeat
    offset: -1715442.5
    lengths:
      - count: 729
        julian: 268497
        operation: mod
        ref: nanca
        value: 729
      - count: 1
        julian: 367
        operation: mod
        ref: nanca
        value: 81
        stopIfValue: true
      - count: 1
        julian: 369
        operation: mod
        ref: nanca
        value: 3
        stopIfValue: true
      - count: 1
        julian: 368
    cycles:
      - id: nancadei
        type: repeat
        lengths:
          - count: 1
            julian: 1
      - id: nancamasti
        type: sequence
        lengths:
          - count: 1
            julian: 49
          - count: 1
            julian: 49
          - count: 1
            julian: 51
          - count: 1
            julian: 50
          - count: 1
            julian: 51
          - count: 1
            julian: 50
          - count: 1
            julian: 52
          - count: 1
            single:
              - julian: 15
                operation: mod
                ref: nanca
                value: 81
                stopIfValid: true
              - julian: 17
                operation: mod
                ref: nanca
                value: 3
                stopIfValid: true
              - julian: 16
        cycles:
          - id: mastidei
            type: repeat
            lengths:
              - count: 1
                julian: 1
