java.lang.Object
page.codeberg.friedolyn.grades.ECTS
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionECTS
(int ects) Constructs a new ECTS object with the given number of ECTS credits. -
Method Summary
-
Field Details
-
ECTS
-
-
Constructor Details
-
ECTS
Constructs a new ECTS object with the given number of ECTS credits.- Parameters:
ects
- The number of ECTS credits that aModule
is worth or that have been achieved in anAccount
or an entire degree. Must be greater than or equal to 0.- Throws:
IllegalArgumentException
- If the given ECTS is less than 0.
-
-
Method Details
-
get
-
equals
-
toString
-