# Clock Specification

The clock shows the time, a stopwatch and allows a daily alarm to be set.

The clock provides three functions: 1. Displays the current date and time. 2. Provides a stopwatch. 3. Allows a daily alarm to be set and enabled/disabled.

Status: BT

## Use Cases

- Viewing Date and Time

  While the PDA is in its cradle, the office worker uses it as a desktop clock.

- Jogger

  A jogger runs around a 400m track 6 times. He starts the stopwatch as he starts, and presses a button each time he rounds the track. He can observe the precise time taken for each lap.

- Setting Daily Alarm

  The traveller sets an alarm to wake him up at 5:30 each morning.

  (not yet implemented: The traveller never wants to be woken on Saturday, Sunday, or Wednesday; the traveller can easily press a "Snooze" button to get a little more rest, but the alarm will sound again; he never misses getting woken)

## Features

- Clock: Display an analog clock, digital clock and the date in one view.
- Stopwatch: Display an analog and digital stopwatch timer. The digital timer has a resolution of 1/100 second.
  - Start/Stop: The [Select] hardware button must Start/Stop the stopwatch.
- Daily Alarm: Allows a daily alarm to be enabled/disabled and set.
  - Audible Alarm: When the alarm is activated an audible alarm must be sounded.
  - Visual Alarm: When the alarm is activated a dialog box must be shown with the alarm details.

## Prerequisites

- Alarm Server: requires a working alarm server for daily alarm function.
- Audible Alarm: requires speaker/buzzer.