Dates, money and choices in requirements and data dictionaries
Write exact requirements for dates and time zones, money and rounding, and fixed lists of choices, and record each in a data dictionary entry that builders and testers can use.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: A restaurant bill split by three people. Three friends split a bill. It comes to a total that does not divide evenly. Who pays the odd cent? Do they round up, round down or take turns? If they do not agree first, they argue at the till.
Software has the same problem with numbers, dates and choices. A is a region of the world that keeps the same clock time, which may differ from the next region. A is a written rule that says how many decimals to keep and which way to round. A code list is a fixed set of allowed values for a field, each with a code and a meaning.
Sam, the for the Daily List app, must write the due date of a task, the price of the paid plan, and the repeat choice for a task. Each looks simple. Each has a trap. Leo, the developer, and Tom, the tester, need exact words.
The picture has a limit. Friends can agree to be fair at the table. Software needs the rule written first.
PLAIN WORDS · 1 in this section
- decimals
- digits written after the decimal point
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB The picture helps a newcomer remember that a shared number needs a rule agreed in advance, or people argue at the till.
- Whose time and zone
- Which currency and decimals
- Which way to round
- Which choices are allowed
- Where it is recorded
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| The restaurant bill | An amount of money in a requirement |
| The odd cent | A rounding question |
| Agreeing who pays before ordering | A written rounding policy |
| The menu of set dishes | A code list of allowed choices |
| Three friends in different cities | Users in different time zones |
WHERE THIS PICTURE STOPS
- Friends can agree to be fair at the table, while software needs the rule written first.
- A bill has one currency, but a product may deal with many.
- A bill is paid once, whereas a repeat choice or a price is used again and again.
HOOK
Whose time, which currency, which way to round, which choices.
REMEMBER IT THIS WAY
A chunk: a long list grouped so it is easier to hold.
Date, price, repeat choice: each pairs with one written rule, which is , , code list.
| In the trick | What it stands for |
|---|---|
| Date | a time zone is a region of the world that keeps the same clock time |
| Price | a rounding policy is a written rule that says how many decimals to keep and which way to round |
| Choice | a code list is a fixed set of allowed values for a field |
TELL A FRIEND
Distinguish day-only dates, unique instants and recurring local times. Money needs a currency and precision/; fixed choices need defined values; record each with examples.
OFTEN MIXED UP WITH What must not happen: edge and negative requirements. That topic finds edge cases in general. This one covers the edge cases of dates, money and fixed choices.
PRACTISE AND KEEP
Sources for this topic — 9 sources
- Market practice
ISO 8601 — Date and time format ↗ — International Organization for Standardization · Catalogue page of the standard on date and time formats (International Organization for Standardization): the standard sets a written form for dates and times (registry source; page not opened in this batch)
Search excerpts only, page not opened. The standard is published in two parts — ISO 8601-1 basic rules and ISO 8601-2 extensions — and the full text is a paid publication. ISO 20022 elements reach these representations through XML Schema datatypes rather than by citing the standard directly, so the schema, not ISO 8601, decides which optional components a given element may omit.
- Market practice
ISO 4217 — Currency codes ↗ — International Organization for Standardization · Catalogue page of the standard on currency codes (International Organization for Standardization): the standard lists currency codes (registry source; page not opened in this batch)
Search excerpts only, page not opened. The per-currency code and minor-unit values are maintained in the standard's own lists and are revised as currencies change; look a currency up in the current list rather than quoting a decimal count from memory. ISO makes the currency codes available free of charge, but the full standard text is a paid publication.
- Market practice
Time zones best practices (CalConnect developer guide) ↗ — CalConnect · Time zones best practices (CalConnect developer guide): the guide says to use named zones rather than short names and to keep the zone with a scheduled event (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Payments and fee rounding (Airwallex documentation) ↗ — Airwallex · Payments and fee rounding (Airwallex documentation): a vendor publishes its rounding method and notes that some currencies have no decimals (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List and the people are invented. The standards are registry sources whose pages were not opened; the guide and the vendor page are search excerpts. The rounding method shown is one choice among several, and the lesson says a business must decide and write its own.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Market practice
What Every Programmer Should Know About Floating-Point Arithmetic (The Floating-Point Guide) ↗ — floating-point-gui.de · Checked on PostgreSQL 16.15: 0.1::float8 + 0.2::float8 = 0.30000000000000004, numeric gives 0.3.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number found. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
decimal: Decimal fixed point and floating point arithmetic (Python documentation) ↗ — Python Software Foundation · Checked on PostgreSQL 16.15: 0.1::float8 + 0.2::float8 = 0.30000000000000004, numeric gives 0.3.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Temporal date and time types ↗ — MDN Web Docs · Normal-search technical maintainer documentation excerpts: Instant, PlainDate, PlainDateTime and ZonedDateTime distinguish exact instants from calendar/local time. An implementation illustration, not a mandated stack.
Original educational paraphrase; no source figure copied. Access status is stated in applicability.
- Market practice
Certified Professional for Requirements Engineering (CPRE) Foundation Level syllabus, English, version 3.3.0 (International Requirements Engineering Board) ↗ — International Requirements Engineering Board (IREB) · CPRE Foundation Level syllabus3.3.0,1April2026, §§3.5,3.8 (3.5 Glossaries; 3.8 Quality Criteria for Work Products and Requirements).
Primary versioned PDF opened via normal web tool and downloaded/extracted on2026-11-06. Copyright authors and IREB e.V.; original educational paraphrase with attribution. No source artwork copied.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.