public class ExpirationDate {
// the object for the instance of the date
private GregorianCalendar gCal;
// format for the full display of the given expiration date
private...
Type: Posts; User: chronoz13
public class ExpirationDate {
// the object for the instance of the date
private GregorianCalendar gCal;
// format for the full display of the given expiration date
private...
most of the methods of the date class is deprecated... i dont know whats the purpose of that..
but is it still safe to use those methods?
i want to extract the MONTH, YEAR and DAY of a current date
i dont have problems with getting the current date..
but my problem is how to extract each field of that date
example:
this code...