previous | start | next

## Side Effects

- Date formatting (basic):

      SimpleDateFormat formatter = . . .;
      String dateString = "January 11, 2012";
      Date d = formatter.parse(dateString);

- Advanced:

      FieldPosition position = . . .;
      Date d = formatter.parse(dateString, position);

- Side effect: updates `position` parameter
- Design could be better: add position to formatter state

previous | start | next