Calendar get 的JDK 文档 public int get(int field)Returns the value of the given calendar field. In lenient mode, all calendar fields are normalized. In non-lenient mode, all calendar fields are validated and this method throws an exception if any calendar fields have out-of-range values. The normalization and validation are handled by the complete() method, which process is calendar system dependent. Parameters:field - the given calendar field. Returns:the value for the given calendar field. 这上面已经说明的够清楚了 这里用 Calendar 的两个属性 DAY_OF_WEEK,DAY_OF_MONTH 不懂hi