Class RunResult

A class representing a Athlete's results from a particular run.

Hierarchy

  • RunResult

Constructors

Methods

  • Get the athlete's age category at the time of this run.

    Returns

    Age Category.

    Returns string

  • Get the decimal age grade for this run.

    Returns

    The decimal age grade as a float.

    Returns number

  • Get the label for this run's age grade.

    Returns

    Age Grade Label

    Returns string

  • Get the name of the event that this run took place at.

    Returns

    Event name.

    Returns string

  • Get the ID of the event that the run took place at.

    Returns

    Event number.

    Returns number

  • Get the athlete's finish position in the run.

    Returns

    Finish position.

    Returns number

  • Get the athlete's first name.

    Returns

    The athlete's first name.

    Returns string

  • Boolean of weather this was the athlete's first time at the event or not.

    Returns

    Was first run?

    Returns boolean

  • Get the athlete's finish position in the run, for their gender only.

    Returns

    Gender-specific finish position.

    Returns number

  • Boolean on weather this run was a genuine pb or not.

    Returns

    Genuine PB?

    Returns boolean

  • Get the athlete's run number for this run.

    (ex. This is Athlete #1234 25th run.)

    Returns

    Run Number / ID.

    Returns number

  • Get the athlete's finishing time for this run.

    Returns

    finishing time.

    Returns string

  • Get the time this entry was last updated.

    Returns

    A Date object showing the timestamp for the last update.

    Returns Date

  • Get the day of the week that this event takes place.

    Returns

    String day.

    Returns "Saturday" | "Sunday" | "Unknown"

Generated using TypeDoc