~david-ergo/astrid/removed-attributes-sync-fix

« back to all changes in this revision

Viewing changes to src/com/timsu/astrid/widget/DateControlSet.java

  • Committer: Tim Su
  • Date: 2009-12-21 04:25:46 UTC
  • mfrom: (225.1.26 2.10.1)
  • Revision ID: tim@todoroo.com-20091221042546-0v926l6yzpdwrti3
Released 2.10.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    }
54
54
 
55
55
    public DateControlSet(Activity activity, Button dateButton, Button timeButton) {
56
 
        this.activity = activity;
57
 
        this.dateFormatter = new SimpleDateFormat(Preferences.getDateFormat(this.activity));
58
 
        this.timeFormatter = new SimpleDateFormat(Preferences.getTimeFormat(this.activity));
 
56
        this(activity);
 
57
 
59
58
        this.dateButton = dateButton;
60
59
        this.timeButton = timeButton;
61
 
 
62
60
        dateButton.setOnClickListener(this);
63
61
        timeButton.setOnClickListener(this);
64
62