1. Date --> Long 秒
Date d = new Date();
Long res = d.getTime();
2. Date --> Date
3.Date -> String
4.String ->Date