org.seasar.framework.util
クラス DateConversionUtil

java.lang.Object
  拡張org.seasar.framework.util.DateConversionUtil

public final class DateConversionUtil
extends Object


メソッドの概要
static String findDelimiter(String value)
           
static String findDelimiterFromPattern(String pattern)
           
static SimpleDateFormat getDateFormat(Locale locale)
           
static SimpleDateFormat getDateFormat(String s, Locale locale)
           
static SimpleDateFormat getDateFormat(String s, String pattern, Locale locale)
           
static String getPattern(Locale locale)
           
static SimpleDateFormat getY4DateFormat(Locale locale)
           
static String getY4Pattern(Locale locale)
           
static String removeDelimiter(String pattern)
           
static Date toDate(Object o)
           
static Date toDate(Object o, String pattern)
           
static Date toDate(String s, String pattern)
           
static Date toDate(String s, String pattern, Locale locale)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

toDate

public static Date toDate(Object o)

toDate

public static Date toDate(Object o,
                          String pattern)

toDate

public static Date toDate(String s,
                          String pattern)

toDate

public static Date toDate(String s,
                          String pattern,
                          Locale locale)

getDateFormat

public static SimpleDateFormat getDateFormat(String s,
                                             String pattern,
                                             Locale locale)

getDateFormat

public static SimpleDateFormat getDateFormat(String s,
                                             Locale locale)

getDateFormat

public static SimpleDateFormat getDateFormat(Locale locale)

getY4DateFormat

public static SimpleDateFormat getY4DateFormat(Locale locale)

getY4Pattern

public static String getY4Pattern(Locale locale)

getPattern

public static String getPattern(Locale locale)

findDelimiter

public static String findDelimiter(String value)

findDelimiterFromPattern

public static String findDelimiterFromPattern(String pattern)

removeDelimiter

public static String removeDelimiter(String pattern)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.