All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Identified, Tool, HTMLRenderable

@Component @Configurable public class CardTime extends CardField
CardView field for displaying times/hours. Supports custom time formatting and duration handling.
Since:
21.0
See Also:
GCApi:
component
  • Field Details

  • Constructor Details

    • CardTime

      public CardTime()
  • Method Details

    • setFORMAT

      public void setFORMAT(String s)
      Sets the time format (XML framework method)
      Parameters:
      s - The time format pattern (e.g. "HH:mm", "HH:mm:ss", "hh:mm a")
    • getFormat

      public SimpleDateFormat getFormat()
      Gets the time format
      Returns:
      The SimpleDateFormat used for formatting times
    • setup

      protected void setup()
      Initializes the component (like ColumnTime.setup). Sets default format if not configured via XML.
      Overrides:
      setup in class Component
    • getFormattedValue

      protected String getFormattedValue()
      Implementation of getFormattedValue for CardTime. Returns the formatted time value.
      Specified by:
      getFormattedValue in class CardField
      Returns:
      The formatted value as string