Skip to content

Commit

Permalink
code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
flavienlaurent committed Jun 13, 2013
1 parent 75b5500 commit 09386d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class SimpleMonthView extends View {
protected int mWeekStart = 1;
protected int mWidth;
protected int mYear;
private DateFormatSymbols mDateFormartSymbols = new DateFormatSymbols();
private DateFormatSymbols mDateFormatSymbols = new DateFormatSymbols();

public SimpleMonthView(Context context) {
super(context);
Expand Down Expand Up @@ -105,7 +105,7 @@ private void drawMonthDayLabels(Canvas canvas) {
int dayOfWeek = (day + this.mWeekStart) % this.mNumDays;
int x = space * (1 + day * 2) + this.mPadding;
this.mDayLabelCalendar.set(Calendar.DAY_OF_WEEK, dayOfWeek);
canvas.drawText(mDateFormartSymbols.getShortWeekdays()[this.mDayLabelCalendar.get(Calendar.DAY_OF_WEEK)].toUpperCase(Locale.getDefault()), x, y, this.mMonthDayLabelPaint);
canvas.drawText(mDateFormatSymbols.getShortWeekdays()[this.mDayLabelCalendar.get(Calendar.DAY_OF_WEEK)].toUpperCase(Locale.getDefault()), x, y, this.mMonthDayLabelPaint);
}
}

Expand Down

0 comments on commit 09386d8

Please sign in to comment.