Klasse FWDataFormatter

java.lang.Object
net.simplace.core.io.FWDataFormatter

public class FWDataFormatter extends Object
Autor:
Andreas Enders please re-implement this class with needed functions
  • Felddetails

    • DAY_MILLIS

      public static final long DAY_MILLIS
      returns 86400000
      Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • getFormatterDate

      public LocalDateTime getFormatterDate()
    • getDataPattern

      public String getDataPattern()
    • getVisuPattern

      public String getVisuPattern()
    • setVisuPattern

      public void setVisuPattern(String aVisuPattern) throws ParseException
      Löst aus:
      ParseException
    • setDataPattern

      public void setDataPattern(String aDataPattern) throws ParseException
      Löst aus:
      ParseException
    • setDate

      public void setDate(String aDateString) throws ParseException
      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

      public void setDate(String aDateString, String aPattern) throws ParseException
      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

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • toDataStoreString

      public String toDataStoreString()
    • toForeignPatternString

      public String toForeignPatternString(String aForeignPattern)
    • parseDate

      public static LocalDateTime parseDate(String aDateString, String aPattern) throws ParseException
      Löst aus:
      ParseException
    • equals

      public boolean equals(Object aDate)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public static String toString(LocalDateTime aFormatedDate, String aPattern)
      Parameter:
      aFormatedDate - to format with aPattern
      aPattern -
      Gibt zurück:
      a formatted Date
    • transformToDate

      public static FWDataFormatter transformToDate(String aText)
      Parameter:
      aText -
      Gibt zurück:
      FromatedDate Object representing aText