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 BaseComponent
componentType, element, registerComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface ElementTextDelegate
textMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface 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
-