org.slim3.struts.test
Class HeaderUtil

java.lang.Object
  extended by org.slim3.struts.test.HeaderUtil

public final class HeaderUtil
extends Object

A utility for header.

Since:
3.0
Author:
higa

Method Summary
static String convertDateToString(long value)
          Converts the date value to string.
static String convertIntToString(int value)
          Converts the int value to string.
static long convertStringToDate(String value)
          Converts the string value to date.
static int convertStringToInt(String value)
          Converts the string value to int.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertStringToDate

public static long convertStringToDate(String value)
Converts the string value to date.

Parameters:
value - the string value
Returns:
converted value

convertStringToInt

public static int convertStringToInt(String value)
Converts the string value to int.

Parameters:
value - the string value
Returns:
converted value

convertDateToString

public static String convertDateToString(long value)
Converts the date value to string.

Parameters:
value - the date value
Returns:
converted value

convertIntToString

public static String convertIntToString(int value)
Converts the int value to string.

Parameters:
value - the date value
Returns:
converted value


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.