Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Visual Studio 6.0

SimpleDateFormat.SimpleDateFormat

Class Overview | Class Members | This Package | All Packages

Syntax 1
public SimpleDateFormat()
Description
Construct a SimpleDateFormat using the default pattern for the default locale. Note: Not all locales support SimpleDateFormat; for full generality, use the factory methods in the DateFormat class.

See Also
DateFormat



Syntax 2
public SimpleDateFormat( String pattern )
Description
Construct a SimpleDateFormat using the given pattern in the default locale. Note: Not all locales support SimpleDateFormat; for full generality, use the factory methods in the DateFormat class.



Syntax 3
public SimpleDateFormat( String pattern, Locale loc )
Description
Construct a SimpleDateFormat using the given pattern and locale. Note: Not all locales support SimpleDateFormat; for full generality, use the factory methods in the DateFormat class.



Syntax 4
public SimpleDateFormat( String pattern, DateFormatSymbols formatData )
Description
Construct a SimpleDateFormat using the given pattern and locale-specific symbol data.

Show:
© 2015 Microsoft