Uses of Class
MySTARS.DayOfWeek

  • Uses of DayOfWeek in MySTARS

    Fields in MySTARS declared as DayOfWeek 
    Modifier and Type Field Description
    private DayOfWeek Lesson.dayOfWeek
    The day of the week when the lesson occurs (Monday - Sunday).
    Methods in MySTARS that return DayOfWeek 
    Modifier and Type Method Description
    static DayOfWeek DayOfWeek.getDayOfWeek​(int day)
    Helper function that returns the corresponding DayOfWeek value for a given day in integer format.
    static DayOfWeek DayOfWeek.valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static DayOfWeek[] DayOfWeek.values()
    Returns an array containing the constants of this enum type, in the order they are declared.
    Methods in MySTARS with parameters of type DayOfWeek 
    Modifier and Type Method Description
    static org.joda.time.DateTime Helper.formatTime​(DayOfWeek day, int hour_24, int minute)
    A date formatter that takes in the current day and time and returns a DateTime object.
    Constructors in MySTARS with parameters of type DayOfWeek 
    Constructor Description
    Lesson​(ClassType classType, DayOfWeek dayOfWeek, int startTime, int endTime, java.lang.String location)
    Lesson constructor, creates new lesson of specified ClassType on a certain day of the week.