Class MonthIterator

  • All Implemented Interfaces:
    Iterator<org.joda.time.YearMonth>


    public class MonthIterator
    extends Object
    implements Iterator<org.joda.time.YearMonth>
    • Constructor Detail

      • MonthIterator

        public MonthIterator(org.joda.time.YearMonth start,
                             org.joda.time.YearMonth end)
        Create an iterator over the specified months
        Parameters:
        start - the first month, inclusive
        end - the last month, exclusive
    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        public org.joda.time.YearMonth next()
      • remove

        public void remove()