How come I can't extend the Date class?
Code:
package com.utils
{
public class DateFormat extends Date
{
private static var _months:Array = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
private static var _appendToNum:Array = ["st", "nd", "rd", "th"];
public function DateFormat()
{
super();
}
}
}
i just get this error
1016: Base class is final.
Also, is AS 2.0 I would have to use super(); and pass all the original arguments into the object. How does this work in AS 3.0?