/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

import java.time.*;
import java.time.format.*;
import java.time.temporal.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{

    String input = "2017 February";
    DateTimeFormatter f = DateTimeFormatter.ofPattern ( "uuuu MMMM" , Locale.US );
    YearMonth ym = YearMonth.parse ( input , f );

    System.out.println ( "===== Days of " + ym + " =====" );
    for ( int i = 1 ; i <= ym.lengthOfMonth () ; i ++ ) {
        LocalDate localDate = ym.atDay ( i );
        System.out.println ( localDate );
    }
    System.out.println ( "=================" );

    System.out.println ( "input: " + input );
    System.out.println ( "ym.toString(): " + ym );

	}
}