edu.pdx.cs399J.core
Class SortDateFormatSHORT

java.lang.Object
  extended by edu.pdx.cs399J.core.SortDateFormatSHORT

public class SortDateFormatSHORT
extends Object

This program reads in Dates from standard in using DateFormat.SHORT. Then it adds them to a SortedSet to see how their sorted. One of my students claimed that DateFormat.SHORT didn't parse 4-digit dates correct. This test will see if she was right.

Version:
$Revision: 1.2 $
Author:
David Whitlock

Constructor Summary
SortDateFormatSHORT()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortDateFormatSHORT

public SortDateFormatSHORT()
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException


Copyright © 2000-2009 Portland State University. All Rights Reserved.