Next: , Up: Date


1.57.1 Date class: basic

abbreviationOfDay: dayIndex
Answer the abbreviated name of the day of week corresponding to the given index


dayOfWeek: dayName
Answer the index of the day of week corresponding to the given name


daysInMonth: monthName forYear: yearInteger
Answer the number of days in the given (named) month for the given year


daysInYear: i
Answer the number of days in the given year


indexOfMonth: monthName
Answer the index of the month corresponding to the given name


initDayNameDict
Initialize the DayNameDict to the names of the days


initMonthNameDict
Initialize the MonthNameDict to the names of the months


initialize
Initialize the receiver


nameOfDay: dayIndex
Answer the name of the day of week corresponding to the given index


nameOfMonth: monthIndex
Answer the name of the month corresponding to the given index


shortNameOfMonth: monthIndex
Answer the name of the month corresponding to the given index