Back to project page android-calendarview.
The source code is released under:
Apache License
If you think the Android project android-calendarview listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
// Copyright 2012 Square, Inc. package com.tripadvisor; /* w w w . ja va2s.co m*/ import java.util.Date; public class WeekDescriptor { private final int weekInYear; private final int year; private final int month; private final Date date; private String label; public WeekDescriptor(int weekInYear, int year, Date date, String label) { this.weekInYear = weekInYear; this.year = year; this.date = date; this.label = label; //noinspection deprecation this.month = date.getMonth(); } public int getWeekInYear() { return weekInYear; } public int getYear() { return year; } public int getMonth() { return month; } public Date getDate() { return date; } @Override public String toString() { return "WeekDescriptor{" + "label='" + label + '\'' + ", weekInYear=" + weekInYear + ", year=" + year + '}'; } }