All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squareup.timessquare.MonthDescriptor Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version
// Copyright 2012 Square, Inc.
package com.squareup.timessquare;

class MonthDescriptor {
  private final int month;
  private final int year;
  private final String label;

  public MonthDescriptor(int month, int year, String label) {
    this.month = month;
    this.year = year;
    this.label = label;
  }

  public int getMonth() {
    return month;
  }

  public int getYear() {
    return year;
  }

  public String getLabel() {
    return label;
  }

  @Override public String toString() {
    return "MonthDescriptor{"
        + "label='"
        + label
        + '\''
        + ", month="
        + month
        + ", year="
        + year
        + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy