title: how to compare date format
body: <p>My application displays dates in different formats based on user settings. I want to test that it displays correct date format. I have the displayed date as a string (2014/12/31). I do not want to verify the actual date, but just the format.</p>
  
  <p>Ex: When user selects yyyy/dd/MM format, it should display it in that format.</p>