pkg dateTime Repeat - yshehab/SchoolRoomBooking GitHub Wiki

Repeat Interface

Overview

An interface which Classes must implement to use the Range collection.

Package

dateTime

Static Members

None

Static Methods

None

Attributes

None

Links

None

Protocol

public T add(RepeatRate rate)

Post-condition: returns T, the term, specified by the repeat rate argument, after the receiver.

public boolean isAfter(T term)

Post-condition: returns false if term is naturally ordered before the receiver or equal, otherwise true.

public String getDisplayString()
Post-condition: returns a string suitable for any implementing UI to display. toString() is the method to call.

Examples

Discussion

⚠️ **GitHub.com Fallback** ⚠️