Class Timestamp
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,Timestamp>
org.patternfly.component.timestamp.Timestamp
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,Timestamp> ElementClassListMethods<HTMLElement,,Timestamp> ElementConsumerMethods<HTMLElement,,Timestamp> ElementContainerMethods<HTMLElement,,Timestamp> ElementEventMethods<HTMLElement,,Timestamp> ElementIdMethods<HTMLElement,,Timestamp> ElementQueryMethods<HTMLElement>,ElementTextDelegate<HTMLElement,,Timestamp> ElementTextMethods<HTMLElement,,Timestamp> HTMLElementAttributeMethods<HTMLElement,,Timestamp> HTMLElementDataMethods<HTMLElement,,Timestamp> HTMLElementStyleMethods<HTMLElement,,Timestamp> HTMLElementVisibilityMethods<HTMLElement,,Timestamp> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Timestamp> Component
public class Timestamp
extends BaseComponent<HTMLElement,Timestamp>
implements ElementTextDelegate<HTMLElement,Timestamp>
A timestamp component for displaying date and time values.
This component supports various formatting options including
custom formats, standard date/time styles, and UTC display.
It can also handle custom HTML content or plain text.
- Author:
- mskacelik
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncustomFormat(CustomFormat customFormat) dateFormat(TimestampFormat dateFormat) dateTime()displaySuffix(String displaySuffix) is12Hour(boolean is12Hour) that()timeFormat(TimestampFormat timeFormat) static Timestampstatic Timestampstatic Timestampstatic Timestamputc(boolean shouldDisplayUTC) Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.ElementTextDelegate
textMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hidden
-
Method Details
-
timestamp
-
timestamp
-
timestamp
-
timestamp
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Timestamp>
-
textDelegate
- Specified by:
textDelegatein interfaceElementTextDelegate<HTMLElement,Timestamp>
-
text
- Specified by:
textin interfaceElementTextDelegate<HTMLElement,Timestamp> - Specified by:
textin interfaceElementTextMethods<HTMLElement,Timestamp>
-
dateTime
-
dateFormat
-
timeFormat
-
customFormat
-
displaySuffix
-
is12Hour
-
locale
-
utc
-
dateTime
-