Uses of Record Class
dev.hloth.zgztransport.CardDate
-
Uses of CardDate in dev.hloth.zgztransport
Methods in dev.hloth.zgztransport that return CardDateModifier and TypeMethodDescriptionCardDateTime.date()Returns the value of thedaterecord component.JourneySummary.LastPaid.date()Returns the value of thedaterecord component.static CardDateCardDate.decode(byte[] bytes) Decodes the two big-endian bytes of a packed date.Subscription.endsAt()Returns the value of theendsAtrecord component.SubscriptionMetadata.purchasedAt()Returns the value of thepurchasedAtrecord component.Subscription.startsAt()Returns the value of thestartsAtrecord component.Methods in dev.hloth.zgztransport with parameters of type CardDateConstructors in dev.hloth.zgztransport with parameters of type CardDateModifierConstructorDescriptionCardDateTime(CardDate date, LocalTime time) Checks that both fields are present and that the time has no fraction of a second.Checks the ranges of the two fields and that the date is present.Subscription(CardDate startsAt, CardDate endsAt, int unknown1, long unknown2, Optional<CardDateTime> lastUsedAt) Checks the ranges of the numeric fields and that the others are present.SubscriptionMetadata(int productId, int unknown1, CardDate purchasedAt, long unknown2, int validityDays, long unknown3) Checks the ranges of the numeric fields and that the date is present.