com.camelspotting.jotl.util
Class Util

java.lang.Object
  extended by com.camelspotting.jotl.util.Util

public class Util
extends Object

Author:
Mats Andreassen

Method Summary
static String getLongDate(int[] date, Locale loc)
          Method for getting a date converted to a string with a long month.
static String getShortDate(int[] date, Locale loc)
          Method for getting a date converted to a string with a short month.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getShortDate

public static String getShortDate(int[] date,
                                  Locale loc)
Method for getting a date converted to a string with a short month.

Parameters:
date - the date to parse
Returns:
the formatted string

getLongDate

public static String getLongDate(int[] date,
                                 Locale loc)
Method for getting a date converted to a string with a long month.

Parameters:
date - the date to parse
Returns:
the formatted string


Copyright © 2013. All Rights Reserved.