feat: Implemented fetching and a lot of other stuff

This commit is contained in:
2026-05-29 09:30:17 +02:00
parent 19ecbf1955
commit c0feda4ba8
24 changed files with 1129 additions and 82 deletions
+16
View File
@@ -0,0 +1,16 @@
import io.github.tomhula.jecnaapi.data.grade.*;
import io.github.tomhula.jecnaapi.util.Name;
import kotlinx.datetime.LocalDate;
import java.util.Map;
import java.util.List;
public class TestAvg {
public static void main(String[] args) {
// Let's see if we can create a Grade
Grade g1 = new Grade(1, false, new Name("Jan", "Novak"), "Test", new LocalDate(2023, 1, 1), 0);
Grade g2 = new Grade(2, true, new Name("Jan", "Novak"), "Test", new LocalDate(2023, 1, 1), 0);
System.out.println("Grade 1: " + g1.getValue() + " small: " + g1.getSmall());
System.out.println("Grade 2: " + g2.getValue() + " small: " + g2.getSmall());
}
}