ca.infoway.messagebuilder.platform
Class DateFormatUtil

Package class diagram package DateFormatUtil
java.lang.Object
  extended by ca.infoway.messagebuilder.platform.DateFormatUtil

public class DateFormatUtil
extends Object


Constructor Summary
DateFormatUtil()
           
 
Method Summary
static String format(Date date, String datePattern)
           
static String format(Date date, String datePattern, TimeZone timeZone)
           
static boolean isMatchingPattern(String str, String pattern)
           
static Date parse(String dateString, String pattern, TimeZone timeZone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateFormatUtil

public DateFormatUtil()
Method Detail

isMatchingPattern

public static boolean isMatchingPattern(String str,
                                        String pattern)

parse

public static Date parse(String dateString,
                         String pattern,
                         TimeZone timeZone)

format

public static String format(Date date,
                            String datePattern)

format

public static String format(Date date,
                            String datePattern,
                            TimeZone timeZone)


Copyright © 2013. All Rights Reserved.