The example for the Alarm Class was updated; however, the introductory line for this example still referred to an alarm that was scheduled in 1996. The new example schedules the alarm in 2007.
Also the documentation assumes a current date that seems irrelevant to either the old example or the new example. I believe the "intent" was that for this example to work, the current date/time must be prior to the alarm's scheduled date/time. This is already stated in the documentation:
If atime is a DateTime object, the DateTime specifies a time when the alarm will be triggered. The DateTime must be greater than the current time.