pl.edu.agh.cast.util
Class ReadableDateFactory

java.lang.Object
  extended by pl.edu.agh.cast.util.ReadableDateFactory

public class ReadableDateFactory
extends java.lang.Object

Class working as a factory providing nicely formated dates.

Author:
Krzysiek Lewandowski

Method Summary
static java.lang.String getReadableDate()
          Get current date in a nice, internationalized format.
static java.lang.String getReadableDate(java.util.Date d)
          Get a date in a nice, internationalized format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getReadableDate

public static java.lang.String getReadableDate()
Get current date in a nice, internationalized format.

Returns:
Date as string.

getReadableDate

public static java.lang.String getReadableDate(java.util.Date d)
Get a date in a nice, internationalized format.

Parameters:
d - date to return
Returns:
internationalized string representation of the date


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.