Package net.simplace.core.io
Klasse FWDataFormatter
java.lang.Object
net.simplace.core.io.FWDataFormatter
- Autor:
- Andreas Enders please re-implement this class with needed functions
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classsome final parameters for Pattern -
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungFWDataFormatter(long aDate) FWDataFormatter(long aDate, String aVisuPattern) FWDataFormatter(String aDateString) FWDataFormatter(String aDateString, String aVisuPattern) FWDataFormatter(LocalDateTime aDate) FWDataFormatter(LocalDateTime aDate, String aVisuPattern) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanstatic LocalDateTimevoidplusDays(int aDaysCount) Sets the Date and forces to change DatePrecision to given Pattern.voidplusYears(int aYearsCount) Sets the Date and forces to change DatePrecision to given Pattern.voidsetDataPattern(String aDataPattern) voidSets the Date and checks for compatibility of DatePrecision to stored DatabasePrecisionPattern.voidSets the Date and forces to change DatePrecision to given Pattern.voidsetVisuPattern(String aVisuPattern) toForeignPatternString(String aForeignPattern) toString()static StringtoString(LocalDateTime aFormatedDate, String aPattern) static FWDataFormattertransformToDate(String aText)
-
Felddetails
-
DAY_MILLIS
public static final long DAY_MILLISreturns 86400000- Siehe auch:
-
-
Konstruktordetails
-
FWDataFormatter
public FWDataFormatter() -
FWDataFormatter
-
FWDataFormatter
public FWDataFormatter(long aDate) -
FWDataFormatter
- Löst aus:
ParseException
-
FWDataFormatter
- Löst aus:
ParseException
-
FWDataFormatter
-
FWDataFormatter
-
-
Methodendetails
-
getFormatterDate
-
getDataPattern
-
getVisuPattern
-
setVisuPattern
- Löst aus:
ParseException
-
setDataPattern
- Löst aus:
ParseException
-
setDate
Sets the Date and checks for compatibility of DatePrecision to stored DatabasePrecisionPattern. If not compatible ParseException is thrown- Parameter:
aDateString-- Löst aus:
ParseException
-
setDate
Sets the Date and forces to change DatePrecision to given Pattern. If pattern is not compatible to possible Patterns (class Pattern) ParseException is thrown- Parameter:
aDateString-aPattern-- Löst aus:
ParseException
-
plusDays
public void plusDays(int aDaysCount) Sets the Date and forces to change DatePrecision to given Pattern. If pattern is not compatible to possible Patterns (class Pattern) ParseException is thrown- Parameter:
aDaysCount-
-
plusYears
public void plusYears(int aYearsCount) Sets the Date and forces to change DatePrecision to given Pattern. If pattern is not compatible to possible Patterns (class Pattern) ParseException is thrown- Parameter:
aYearsCount-
-
toString
-
toDataStoreString
-
toForeignPatternString
-
parseDate
- Löst aus:
ParseException
-
equals
-
toString
- Parameter:
aFormatedDate- to format with aPatternaPattern-- Gibt zurück:
- a formatted Date
-
transformToDate
- Parameter:
aText-- Gibt zurück:
- FromatedDate Object representing aText
-