(0012935 - 467 - 479 - 479 - 479 - 479 - 479)
lucian3
01-25-09 11:37
|
The first file modifies readFrom: to call #skipDayName: if the date begins with a letter. The second file contains #skipDayName:, which will remove a sequence of letters from the stream and see if it matches a valid day name or abbreviation. If not, it will push it back onto the stream.
The third file modifies the readFrom: test case to test dates with day names/abbreviations in them. I replaced the multiple nearly identical #assert: statements with iteration. |