Record Class TimeEmojifier.HourEmoji
java.lang.Object
java.lang.Record
de.gustavblass.fsu.fmi.roombooking.util.TimeEmojifier.HourEmoji
- Record Components:
onHour- The emoji if theLocalTimeonly has an hour part.halfHour- The emoji ifLocalTime.getMinute()is 30.
- Enclosing class:
TimeEmojifier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NonNull StringhalfHour()Returns the value of thehalfHourrecord component.final inthashCode()Returns a hash code value for this object.@NonNull StringonHour()Returns the value of theonHourrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
onHour
-
halfHour
-
-
Constructor Details
-
HourEmoji
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
onHour
-
halfHour
-