Constant summary
Methods summary
Modifier and Type | Method |
---|---|
public static | createDateInstance ( unknown n2nLocale , unknown dateStyle , DateTimeZone timeZone = null ) |
public static | createTimeInstance ( unknown n2nLocale , unknown timeStyle , DateTimeZone timeZone = null ) |
public static | createDateTimeInstance ( unknown n2nLocale , unknown dateStyle = self ) |
public | getPattern ( ) |
public static | convertStyle ( unknown style ) |
public static | getStyles ( ) |
public | setLenient ( unknown lenient ) |
public DateTime | parse ( string str ) |
public | format ( DateTime dateTime ) |
Constants in detail
-
STYLE_NONE
const STYLE_NONE
-
STYLE_SHORT
const STYLE_SHORT
-
STYLE_MEDIUM
const STYLE_MEDIUM
-
STYLE_LONG
const STYLE_LONG
-
STYLE_FULL
const STYLE_FULL
Methods in detail
-
createDateInstance
public static createDateInstance ( unknown n2nLocale , unknown dateStyle , DateTimeZone timeZone = null ) -
createTimeInstance
public static createTimeInstance ( unknown n2nLocale , unknown timeStyle , DateTimeZone timeZone = null ) -
createDateTimeInstance
public static createDateTimeInstance ( unknown n2nLocale , unknown dateStyle = self ) -
getPattern
public getPattern ( ) -
convertStyle
public static convertStyle ( unknown style ) -
getStyles
public static getStyles ( ) -
setLenient
public setLenient ( unknown lenient ) -
parse
DateTime public parse ( string str ) -
format
public format ( DateTime dateTime )
param
return