[AS3] How to set optional parameters in a custom class

Im coding in AS3, and i want to make a class that will recieve optional parameters, but i dont know how to identify these parameters as optional.

I tried writing

public function mydate([language:String]):void{

like Adobe identifies optional parameters, but it doesnt work

Any help will be appreciated :slight_smile: