Ad
  • Default User Avatar

    fixed

  • Default User Avatar

    Thanks; fixed.

  • Default User Avatar

    Thanks for the info; I've specified that days of the week start on a Monday. (date format is also given in the task).

  • Custom User Avatar

    Specify the day weeks start. This is Monday in Europe but Sunday in America ( I think ), so in theory, an American would answer "31-12" for inputs 1, "Sunday".

    Now that I think of it, order of month and day in the return value should be specified also, because they would actually answer "12-31". ( Do not rely on examples for specifications. )

    ETA: It's even worse.

    "While, for example, the United States, Canada, Brazil, Japan and other countries consider Sunday as the first day of the week, and while the week begins with Saturday in much of the Middle East,[citation needed] the international ISO 8601 standard[a] and most of Europe has Monday as the first day of the week. The Geneva-based ISO standards organization uses Monday as the first day of the week in its ISO week date system."

  • Custom User Avatar

    Considering how small the input range is, all possible inputs should be tested.

  • Custom User Avatar

    Sample tests are using the old test framework.