import java.util.Scanner; public class rili { public static void main(String[] args) { for (int g = 0; g < 100; g++) { Scanner in = new Scanner(System.in); System.out.println("\n请输入年份:"); int year = in.nextInt(); System.out.println("请输入月
java学习笔记之日期日历 Date日期类概述: 表示特定的瞬间,精确到毫秒 Date类的构造方法: 1.空参数构造方法 Date date = new Date(); 获取到当前操作系统中的时间和日期 2.带参数构造方法 Date date= new Date(long m); 参数m:long类型的毫秒值 将传递的毫秒值转换为日期对象 Date类的方法: 1.将日期对象转换为对应所表示的毫秒值 long getTime(); 2.将日期对象设定到指定毫秒值上,相当于带参数构造的方法 setT
Problem Description Today is Saturday, 17th Nov,2007. Now, if i tell you a date, can you tell me what day it is ? Input There are multiply cases. One line is one case. There are three integers, year(0< year<10000), month(0<=month<13), day(0<