Documentation for cldrutil


Interface

DEFINE
defines internal procedures and variables (optional) NEW

ATND-DAY-NUM
Returns the membership day # for a given date or 0 if the date is not a membership date.

  1. bldg buffer in question
  2. date in question
  3. membership day # (or 0 if not a membership date)
  4. errorFlag (must be an integer) *OPTIONAL*

DAY-IN-WEEK
Returns index into the day array (as found in the schd-version and master-schd-meets tables) based on a given date. If the date is not valid or in range, 0 is returned.

  1. bldg buffer in question
  2. date in question
  3. returned index to schd-version.day-names[] (0 if bad date)
  4. errorFlag (must be an integer) *OPTIONAL*

COURSE-MEETS
Determines if a passed master-schd buffer meets on a passed date (and optional time). If it does, the first master-schd-meet record that represents that date/time is returned. If it doesn't meet, the master-schd-meet buffer is passed back "NOT AVAILABLE".

  1. master-schd BUFFER for the course in question
  2. date in question
  3. time to search for (pass ? if no specific time)
  4. master-schd-meets BUFFER (empty if no match)
  5. errorFlag (must be an integer) *OPTIONAL*

CHECK-MEETING
Given a meeting record and a date (and optional time), returns TRUE if the meeting record actually meets for the past date/time.

  1. master-schd-meets buffer to check
  2. Date to check
  3. Time to check (or ? for no specific time)
  4. Flag indicating TRUE/FALSE if the meeting meets at the date/time


Last update August 27, 1997