DeconstructAlphaDECONSTRUCTALPHA中文
← All articles

Product & engineering

Does Saturday’s payment cover Tuesday’s lesson?

A piano lesson moves from Saturday to Tuesday. The parent needs the new time. The person issuing a refund has a receipt that still says Saturday. What does the timetable owe them both?

Two identical timetables

Suppose a piano school charges by the lesson. A child has a Saturday booking, already paid at 180 yuan. The teacher asks to move it. The parent checks the calendar and finds one entry at four on Tuesday. Moving the booking or deleting it and creating a fresh Tuesday entry would produce exactly that screen.

Consider a second history for the same screen. The school cancels Saturday and owes the family a refund. The child separately books a free trial with the same teacher on Tuesday at four. Imagine these as two alternative histories for one family. Even the original receipt is identical.

Give the finished calendars and receipts to a bookkeeper, with the edit history covered. In one case the payment covers Tuesday. In the other the school owes 180 yuan. Better matching on names, times or amounts cannot settle this particular question. Every one of those inputs agrees.

Why a calendar keeps the old time

In iCalendar, an occurrence in a recurring series has a RECURRENCE-ID. Move that occurrence and, for the same series and sequence number, the identifier still points to its original slot. Google Calendar likewise exposes originalStartTime to identify an occurrence within its series even after its actual start has changed. [1][2]

There is a design clue here for the piano school. Saturday is useless to the parent asking when to turn up. It is the only useful date on the bookkeeper’s receipt. A booking number that survives a move lets the payment keep pointing to the lesson while reminders follow its new time. An independently booked trial gets its own number. The parent can have a clean timetable and the bookkeeper can still follow the old receipt. Calendar standards establish identity within a series. The school’s terms decide who is owed money.

When the distinction earns its keep

On a timetable pinned to the fridge, crossing out Saturday and writing Tuesday is enough. An unlimited monthly pass may also make both histories financially equivalent, assuming there are no absence allowances or per-lesson teacher payouts. The extra work earns its keep once someone has acted on the original booking and a later decision depends on what became of it.

Here is an acceptance test. Start with a paid Saturday lesson and move it to Tuesday. Reset the data, cancel Saturday, then add Tuesday as a free trial. Hand the original receipt to someone who missed both edits. Ask them to decide on a refund using the ordinary staff screen. Separately, ask a parent when to bring the child in. The first two answers should differ. The second two should agree. If the bookkeeper has to search the teacher’s messages to tell the cases apart, you have found where the system actually keeps its most important record.

Sources & scope

The school, price and refund terms are hypothetical. The two references document how calendar systems identify recurring events.

  1. RFC 5545 §3.8.4.4 · Recurrence ID ↗
  2. Google Calendar API · Events / originalStartTime ↗
DeconstructAlpha (析元) is a brand of Beijing Pengcheng Technology Co., Ltd., which operates this website.
京ICP备2026070261号-1 京公网安备11010802050788号