public class DateFormat extends Object
Represents date format.
Constructor and Description |
---|
DateFormat(DateFormatElement[] formatElements,
String dateSeparator)
Initializes a new instance of the
DateFormat class. |
DateFormat(String cultureName,
DateFormatElement[] formatElements)
Initializes a new instance of the
DateFormat class. |
Modifier and Type | Method and Description |
---|---|
String |
getDateSeparator_Rename_Namesake()
Gets the date separator.
|
String |
toString()
Returns a
System.String that represents the current DateFormat . |
public DateFormat(String cultureName, DateFormatElement[] formatElements)
Initializes a new instance of the DateFormat
class.
cultureName
- The culture name.formatElements
- The format elements.public DateFormat(DateFormatElement[] formatElements, String dateSeparator)
Initializes a new instance of the DateFormat
class.
formatElements
- The format elements.dateSeparator
- The date separator.public final String getDateSeparator_Rename_Namesake()
Gets the date separator.
Copyright © 2018. All rights reserved.