pl.edu.agh.cast.util
Class ReadableDateFactory

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

public final class ReadableDateFactory
extends Object

Class working as a factory providing nicely formated dates.

Author:
AGH CAST Team

Method Summary
static String getReadableDate()
          Get current date in a nice, internationalized format.
static String getReadableDate(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 String getReadableDate()
Get current date in a nice, internationalized format.

Returns:
Date as string.

getReadableDate

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

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


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.