Skip to content
Johannes Pour edited this page Oct 8, 2021 · 2 revisions

Attributes

  • date: Date

  • day: string

  • className: string

  • period: number

  • type: string

  • oldSubject: string

  • newSubject: string

  • oldRoom: string

  • newRoom: string

  • description: string

  • longOldSubject
    The long version of the oldSubject attribute

  • longNewSubject
    The long version of the newSubject attribute

Methods

  • .realTime -> Date
    Calculates the period attribute to real time

  • .exactDateAndTime -> Date
    The exact year, month, day, hour and minute when it takes place

  • .toJSON() -> object
    Returns a Entry object as a JSON representation

  • .fromJSON(data: object) -> TimeTable instance
    Create a new Entry instance from the JSON data

Clone this wiki locally