JCommon 1.0.17-redhat-2

org.jfree.date
Class DateUtilities

java.lang.Object
  extended by org.jfree.date.DateUtilities

public class DateUtilities
extends Object

Some useful date methods.

Author:
David Gilbert.

Method Summary
static Date createDate(int yyyy, int month, int day)
          Creates a date.
static Date createDate(int yyyy, int month, int day, int hour, int min)
          Creates a date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDate

public static Date createDate(int yyyy,
                              int month,
                              int day)
Creates a date.

Parameters:
yyyy - the year.
month - the month (1 - 12).
day - the day.
Returns:
a date.

createDate

public static Date createDate(int yyyy,
                              int month,
                              int day,
                              int hour,
                              int min)
Creates a date.

Parameters:
yyyy - the year.
month - the month (1 - 12).
day - the day.
hour - the hour.
min - the minute.
Returns:
a date.

JCommon 1.0.17-redhat-2

Copyright © 2001-2012 JFree.org. All Rights Reserved.