Package io.jmix.flowui.component
Interface HasZoneId
- All Known Implementing Classes:
TypedDateTimePicker,TypedTimePicker
@NullMarked
public interface HasZoneId
Defines a contract for components that support working with a
ZoneId.
Implementations of this interface allow getting and setting a time zone identifier, typically for handling date or time-related values with respect to a specific time zone.
-
Method Summary
-
Method Details
-
getZoneId
@Nullable ZoneId getZoneId()Returns theZoneIdassociated with this component.- Returns:
- the
ZoneIdof this component, ornullif no ZoneId is set
-
setZoneId
Sets theZoneIdfor this component.- Parameters:
zoneId- theZoneIdto be set for this component, ornullto unset the current ZoneId
-