Test Details
A data class that models a test.
Parameters
the title of the test.
the description of the test.
indicates the language that the test focuses on.
an instance of LocalDateTime that indicates the time and date of the test. The getLocalDateTimeForMillis static method can be used to generate the instance for a given timestamp in milliseconds.
indicates the total number of questions in this test.
indicates the number of minutes allotted for each question.
Constructors
Types
Properties
Extensions
Used to get a pair consisting of strings representing date and time. The first value in the pair is the date string and the second value is the time.
Used to check whether the test is scheduled, but not open.
Used to check whether the test has expired (The window for taking the test has expired).
Used to check whether the test is open for accepting answers.