- Know how to use
time
in C#. - Know how to get the current time.
- Know how to perform arithmetic on times.
- Know the difference between local time and UTC.
- custom time zones
- Noda Time
- We are not exercising student's ability to code a cross-platform solution.
time
: Know how to useDateTime
when time-of-day is important. Understand the difference between local time and Universal Coordinated Time). Understand the role ofCultureInfo
in parsing times. Understand arithmetic withDateTime
s.timezone
: Know about time zones and their ids. Be familiar with cross-platform issues. Know how to convert dates and times between time zones. Know how to detect daylight saving time.cross-platform
: know how to have different code paths (selected at run-time) for Linux, Windows and Mac
datetime
switch-statements
strings
if-statements