Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now, you have no problem remembering your soccer practice schedule. The problem is, no one else can remember it - so you decide to add it to your calendar. If anyone wants to know when you are at soccer practice, all they have to do is check your calendar.

It would be best to start off by writing out the schedule using the temporal expression notation:

Code Block

  Difference:
    Include:
      Substitution:
        Include:
          Union:
            Intersection:
              MinuteRange(0, 0)
              HourRange(18, 18)
              DayOfWeekRange(Monday, Wednesday)
            Intersection:
              MinuteRange(0, 0)
              HourRange(10, 10)
              DayOfWeekRange(Saturday, Saturday)
        Exclude:
          DayInMonth(Saturday, -1)
        Substitute:
          Intersection:
            MinuteRange(0, 0)
            HourRange(13, 13)
            DayOfWeekRange(Sunday, Sunday)
    Exclude:
      DayOfMonthRange(17, 17)
      MonthRange(3, 3)