Java notes 1 - How to get the year-on-day time to stop

xiaoxiao2021-03-06  108

Calendar CD = Calendar.getInstance ();

Int yy = cd.get (calendar.year);

INT mm = cd.get (calendar.mont) 1;

INT DD = CD.Get (Calendar.date);

INTHH = CD.Get (Calendar. Hour);

INT nn = cd.get (Calendar.minute);

INT SS = CD.Get (Calendar.Second);

INT mi = cd.get (Calendar.MilliseCond);

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

New Post(0)