Package google.registry.model.domain
Class Period
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.domain.Period
- All Implemented Interfaces:
UnsafeSerializable
,Serializable
,Cloneable
The "periodType" from RFC5731.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Period
create
(int value, Period.Unit unit) getUnit()
getValue()
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
Period
public Period()
-
-
Method Details
-
getUnit
-
getValue
-
create
-