Klasse DateTimeFormat
java.lang.Object
java.text.Format
java.text.DateFormat
com.inet.report.chart.format.DateTimeFormat
- Alle implementierten Schnittstellen:
ChartFormat, Serializable, Cloneable
This is a date and time format with predefined locale-sensitive styles.
For more information to the system defined date and time styles see http://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html.
For more information to the system defined date and time styles see http://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html.
- Seit:
- 8.0
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen DateFormat
DateFormat.Field -
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final StringThe custom data formatstatic final StringThe custom data format for day of week in full form, if one existsstatic final StringThe custom data format for month and years in abbreviated formstatic final StringThe custom data format for month in full form, if one existsstatic final StringThe custom data format for month and years in full formstatic final StringThe custom data format for yearsstatic final StringSystem default format for full date and time, seeDateFormat.FULLstatic final StringSystem default format for long date and time, seeDateFormat.LONGstatic final StringSystem default format for medium date and time, seeDateFormat.MEDIUMstatic final StringSystem default format for short date and time, seeDateFormat.SHORTstatic final StringThe custom time format for minutes in abbreviated formstatic final StringThe custom time format for seconds in abbreviated formVon Klasse geerbte Felder DateFormat
AM_PM_FIELD, calendar, DATE_FIELD, DAY_OF_WEEK_FIELD, DAY_OF_WEEK_IN_MONTH_FIELD, DAY_OF_YEAR_FIELD, DEFAULT, ERA_FIELD, FULL, HOUR_OF_DAY0_FIELD, HOUR_OF_DAY1_FIELD, HOUR0_FIELD, HOUR1_FIELD, LONG, MEDIUM, MILLISECOND_FIELD, MINUTE_FIELD, MONTH_FIELD, numberFormat, SECOND_FIELD, SHORT, TIMEZONE_FIELD, WEEK_OF_MONTH_FIELD, WEEK_OF_YEAR_FIELD, YEAR_FIELD -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungclone()Overrides Cloneableformat(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition) Returns the date format pattern constant, e.g.protected StringgetName()FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.Returns the time format pattern constant, e.g.parse(String source, ParsePosition pos) voidreadProperties(Element element) Reads the XML properties of a chart format.voidsaveProperties(StringBuilder buffer, int depth) Writes the format properties to output.voidsetDatePatternConstant(String patternConstant) Sets the date format pattern constant, e.g.voidsetFormatingProperties(com.inet.report.chart.format.FormatingProperties properties) Sets the location specific formating properties, e.g. locale, time zone, first day of week.voidsetTimePatternConstant(String patternConstant) Sets the time format pattern constant, e.g.Von Klasse geerbte Methoden DateFormat
equals, format, format, getAvailableLocales, getCalendar, getDateInstance, getDateInstance, getDateInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getInstance, getNumberFormat, getTimeInstance, getTimeInstance, getTimeInstance, getTimeZone, hashCode, isLenient, parse, parseObject, setCalendar, setLenient, setNumberFormat, setTimeZoneVon Klasse geerbte Methoden Format
format, formatToCharacterIterator, parseObject
-
Felddetails
-
PATTERN_CONSTANT_FULL
System default format for full date and time, seeDateFormat.FULL- Siehe auch:
-
PATTERN_CONSTANT_LONG
System default format for long date and time, seeDateFormat.LONG- Siehe auch:
-
PATTERN_CONSTANT_MEDIUM
System default format for medium date and time, seeDateFormat.MEDIUM- Siehe auch:
-
PATTERN_CONSTANT_SHORT
System default format for short date and time, seeDateFormat.SHORT- Siehe auch:
-
PATTERN_CONSTANT_DATE_D_MMMM_YYYY
-
PATTERN_CONSTANT_DATE_YYYY
-
PATTERN_CONSTANT_DATE_MMMM_YYYY
The custom data format for month and years in full form- Siehe auch:
-
PATTERN_CONSTANT_DATE_MMM_YY
The custom data format for month and years in abbreviated form- Siehe auch:
-
PATTERN_CONSTANT_DATE_MMMM
The custom data format for month in full form, if one exists- Siehe auch:
-
PATTERN_CONSTANT_DATE_EEEE
The custom data format for day of week in full form, if one exists- Siehe auch:
-
PATTERN_CONSTANT_TIME_MM
The custom time format for minutes in abbreviated form- Siehe auch:
-
PATTERN_CONSTANT_TIME_SS
The custom time format for seconds in abbreviated form- Siehe auch:
-
-
Konstruktordetails
-
DateTimeFormat
public DateTimeFormat()Creates a new instance of format. Initializes the pattern constants with system default format SHORT.- Seit:
- 8.0
-
-
Methodendetails
-
getDatePatternConstant
Returns the date format pattern constant, e.g. PATTERN_CONSTANT_DATE_YYYY.- Gibt zurück:
- the pattern constant.
- Seit:
- 8.0
- Siehe auch:
-
setDatePatternConstant
Sets the date format pattern constant, e.g. PATTERN_CONSTANT_DATE_YYYY.- Parameter:
patternConstant- the pattern constant (nullpermitted)- Seit:
- 8.0
- Siehe auch:
-
getTimePatternConstant
Returns the time format pattern constant, e.g. PATTERN_CONSTANT_TIME_MM.- Gibt zurück:
- the pattern constant.
- Seit:
- 8.0
- Siehe auch:
-
setTimePatternConstant
Sets the time format pattern constant, e.g. PATTERN_CONSTANT_TIME_MM.- Parameter:
patternConstant- the pattern constant (nullpermitted)- Seit:
- 8.0
- Siehe auch:
-
setFormatingProperties
public void setFormatingProperties(com.inet.report.chart.format.FormatingProperties properties) Sets the location specific formating properties, e.g. locale, time zone, first day of week.- Angegeben von:
setFormatingPropertiesin SchnittstelleChartFormat- Parameter:
properties- the properties object (nullnot permitted)
-
format
- Angegeben von:
formatin KlasseDateFormat
-
parse
- Angegeben von:
parsein KlasseDateFormat
-
saveProperties
Writes the format properties to output.- Angegeben von:
savePropertiesin SchnittstelleChartFormat- Parameter:
buffer- the outputdepth- the depth of XML indent
-
readProperties
Reads the XML properties of a chart format.- Angegeben von:
readPropertiesin SchnittstelleChartFormat- Parameter:
element- DOM element- Siehe auch:
-
getName
FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.- Gibt zurück:
- the name.
-
clone
Overrides Cloneable- Angegeben von:
clonein SchnittstelleChartFormat- Setzt außer Kraft:
clonein KlasseDateFormat- Gibt zurück:
- the chart format
-