Java tutorial
//package com.java2s; import java.util.Calendar; public class Main { public static String printFullCalendar(Calendar calendar) { return String.format("%1$ta %1$td %1$tb %1$tY at %1$tI:%1$tM %1$Tp", calendar); } }