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

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

/* 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
	{
		DateTimeFormatter f =
        new DateTimeFormatterBuilder()
                .parseCaseInsensitive()
                .appendPattern( "dd-MMM-uu" )
                .toFormatter( Locale.US );
        String input = "12-FEB-23";
        LocalDate localDate = LocalDate.parse( input , f );
        ZoneId z = ZoneId.of( "Asia/Kolkata" );
        ZonedDateTime zdt = localDate.atStartOfDay( z );
        String output = zdt.format( DateTimeFormatter.RFC_1123_DATE_TIME ) ; 

        System.out.println( zdt ) ;
        System.out.println( output ) ;
        System.out.println( Runtime.version() ) ;
	}
}