play.utils
类 Utils.AlternativeDateFormat

java.lang.Object
  继承者 play.utils.Utils.AlternativeDateFormat
包容类:
Utils

public static class Utils.AlternativeDateFormat
extends java.lang.Object


构造方法摘要
Utils.AlternativeDateFormat(java.util.Locale locale, java.lang.String... alternativeFormats)
           
 
方法摘要
static Utils.AlternativeDateFormat getDefaultFormatter()
           
 java.util.Date parse(java.lang.String source)
           
 void setFormats(java.lang.String... alternativeFormats)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Utils.AlternativeDateFormat

public Utils.AlternativeDateFormat(java.util.Locale locale,
                                   java.lang.String... alternativeFormats)
方法详细信息

setFormats

public void setFormats(java.lang.String... alternativeFormats)

parse

public java.util.Date parse(java.lang.String source)
                     throws java.text.ParseException
抛出:
java.text.ParseException

getDefaultFormatter

public static Utils.AlternativeDateFormat getDefaultFormatter()


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly