title: Override on Field initialization
body: <p>For the following example,</p>
  
  <pre><code>public abstract class RecordData {
    private MyDate mDate  = new MyDate(new SimpleDateFormat(""yyyy-MM-dd HH:mm:ss"));
  
    public Date getMyDate() {
      return mDate.getDate();
    }    
    .....
    }
  </code></pre>
  
  <p>I would like implementing classes to override the date format. One way of doing this is to have a method like this:</p>
  
  <pre><code>protected SimpleDateFormat getDateForm() {
    return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
  }
  </code></pre>
  
  <p>So,the initialization should be like:
     <code>MyDate mDate  = new MyDate(getDateForm());</code> </p>
  
  <p>Is there any other convenient way of doing this. What are the potential issues with the above implementation.</p>