Several questions about date calculations in Java

zhaozj2021-02-12  137

1. Calculate the number of days of the month

Gregoriancalendar Date = New Gregoriancalendar (); Date.Set (2004, 6, 1);

INT countday = Date.GetActualMaximum (date.day_of_month);

转载请注明原文地址:https://www.9cbs.com/read-6944.html

New Post(0)