feat: Implemented fetching and a lot of other stuff
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user