edu.pdx.cs399J.core
Class DateDemo

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

public class DateDemo
extends Object

This class demonstrates how to use the Java's day and time facilities.


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

Constructor Detail

DateDemo

public DateDemo()
Method Detail

main

public static void main(String[] args)
This main method works with dates. If there are any arguments on the command line, they are interpreted as a date to be parsed. Otherwise, the current day/time are used.



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