• 2021-04-14
    calendar.get(Calendar.DAY_OF_WEEK)函数获取当前星期日期。( )
  • 内容

    • 0

      public static void main(String[] args) {// 获取表示当前时间的Calendar对象Calendar calendar = Calendar.getInstance();// 设置指定日期,将MONTH设为13calendar.set(Calendar.MONTH, 13);System.out.println(calendar.getTime());// 开启non-lenient模式____________________________;calendar.set(Calendar.MONTH, 13);System.out.println(calendar.getTime());}

    • 1

      When is New Year’s Day? A: January 1st in lunar calendar B: February 1st in lunar calendar C: January 1st in solar calendar D: February 1st in solar calendar

    • 2

      下面哪个方法可以获得Calendar实例( ) A: new Calendar() B: Calendar.getInstance() C: get(Calendar.YEAR)) D: get(Calendar.MONTH))

    • 3

      The fifth day of the fifth month in the Chinese lunar calendar is also called _________.

    • 4

      World Ocean Day in the environmental calendar began on 8 June 1992. It was