title: Return an object with an update data, that is pass in to a public static function
body: <p>How can I return an object with an update data, that is pass in to a public static function?</p>
  
  <pre><code>GetDate.dayName(MyDate.setDate(1984,3))
  //MyDate with new info (year, month) will be pass into GetDate.dayName
  
  
  package hwang.time
  {
  
  public class MyDate
  {
      public static var getYear:Number;
      public static var getMonth:Number;
  
      public static function setDate(year:Number, month:Number = 1):Object
      {
          getYear = year;
          getMonth = month
          verify()
          return null
      }
  
      private static function verify():void
      {
          //something
      }
  }
  }
  </code></pre>