Datumsangaben und Uhrzeiten formatieren

968f3e1c

Dario H.

A newer submission is available.

Test Suite

94 % complete

Suggestions

  • Testen, dass CasualDateTimeFormat auch Daten ausserhalb der Jahre 2000 – 2099 korrekt formatiert. The test suite already does this partially, but it only detects 3 out of 5 possible bugs in this regard.
  • Testen, dass das Ersetzen in TextFormatter.format auch funktioniert, wenn ein Datum oder eine Zeit ganz am Anfang eines Texts steht. The test suite already does this partially, but it only detects 1 out of 3 possible bugs in this regard.

Implementation

94 % complete 16 / 16 Tests
  • CasualDateTimeFormatTest.Date: Passed
  • CasualDateTimeFormatTest.Time: Passed
  • FormalDateTimeFormatTest.Date: Passed
  • FormalDateTimeFormatTest.Time: Passed
  • TextFormatterTest.dateAndTimeCasual: Passed
  • TextFormatterTest.dateAndTimeFormal: Passed
  • TextFormatterTest.emptyCasual: Passed
  • TextFormatterTest.emptyFormal: Passed
  • TextFormatterTest.multipleDateAndTimeCasual: Passed
  • TextFormatterTest.multipleDateAndTimeFormal: Passed
  • TextFormatterTest.noDateAndTimeCasual: Passed
  • TextFormatterTest.noDateAndTimeFormal: Passed
  • TextFormatterTest.onlyDateCasual: Passed
  • TextFormatterTest.onlyDateFormal: Passed
  • TextFormatterTest.onlyTimeCasual: Passed
  • TextFormatterTest.onlyTimeFormal: Passed

Other Submissions