public class DateFormatElement extends Object
Represents date format element.
Modifier and Type | Method and Description |
---|---|
static DateFormatElement |
getDateSeparator()
Gets the date separator element.
|
static DateFormatElement |
getDayOfMonth()
Gets the day of month element.
|
static DateFormatElement |
getDayOfMonthTwoDigits()
Gets the day of month element.
|
String |
getFormat()
Gets the format string.
|
static DateFormatElement |
getMonth()
Gets the month element.
|
static DateFormatElement |
getMonthAbbreviatedName()
Gets the month element.
|
static DateFormatElement |
getMonthFullName()
Gets the month element.
|
static DateFormatElement |
getMonthTwoDigits()
Gets the month element.
|
String |
getSingleFormat()
Gets the single format string.
|
static DateFormatElement |
getYear()
Gets the year element.
|
static DateFormatElement |
getYearFourDigits()
Gets the year element.
|
static DateFormatElement |
getYearTwoDigits()
Gets the year element.
|
String |
toString()
Returns a
System.String that represents the current DateFormatElement . |
public final String getFormat()
Gets the format string.
public final String getSingleFormat()
Gets the single format string.
public String toString()
Returns a System.String
that represents the current DateFormatElement
.
public static DateFormatElement getDayOfMonth()
Gets the day of month element.
public static DateFormatElement getDayOfMonthTwoDigits()
Gets the day of month element.
public static DateFormatElement getMonth()
Gets the month element.
public static DateFormatElement getMonthTwoDigits()
Gets the month element.
public static DateFormatElement getMonthAbbreviatedName()
Gets the month element.
public static DateFormatElement getMonthFullName()
Gets the month element.
public static DateFormatElement getYear()
Gets the year element.
public static DateFormatElement getYearTwoDigits()
Gets the year element.
public static DateFormatElement getYearFourDigits()
Gets the year element.
public static DateFormatElement getDateSeparator()
Gets the date separator element.
Copyright © 2019. All rights reserved.