Klasse PatternDateTimeFormat
java.lang.Object
java.text.Format
java.text.DateFormat
com.inet.report.chart.format.PatternDateTimeFormat
- Alle implementierten Schnittstellen:
ChartFormat, Serializable, Cloneable
This is a date time format defined by a pattern.
For more information on date and time patterns see http://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
For more information on date and time patterns see http://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.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 default pattern with date and time parts.Von 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) protected StringgetName()FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.Returns the format pattern.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.voidsetFormatingProperties(com.inet.report.chart.format.FormatingProperties properties) Sets the location specific formating properties, e.g. locale, time zone, first day of week.voidsetPattern(String pattern) Sets the format pattern.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
-
DEFAULT_PATTERN
The default pattern with date and time parts.- Siehe auch:
-
-
Konstruktordetails
-
PatternDateTimeFormat
public PatternDateTimeFormat()Creates a new instance of format.- Seit:
- 8.0
-
-
Methodendetails
-
getPattern
Returns the format pattern. The pattern should have the Java format, see this class doc.- Gibt zurück:
- the pattern.
- Seit:
- 8.0
- Siehe auch:
-
setPattern
Sets the format pattern. The pattern should have the Java format, see this class doc.- Parameter:
pattern- the pattern (nullnot permitted)- 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:
-
clone
Overrides Cloneable- Angegeben von:
clonein SchnittstelleChartFormat- Setzt außer Kraft:
clonein KlasseDateFormat- Gibt zurück:
- the chart format
-
getName
FOR INTERNAL USE ONLY Returns the XML attribute name for this dataset.- Gibt zurück:
- the name.
-