Getting yesterday - The method getDate() from the type Date is deprecated

后端 未结 5 634
面向向阳花
面向向阳花 2020-12-20 15:56

I try to get the date of yesterday. So I write the next function:

public  String getYestrday() {
    DateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-d         


        
5条回答
提交回复
热议问题