티스토리 뷰

공부

[Java] Deep copy Date

seunggabi 승가비 2020. 1. 18. 19:58
Date original = new Date();
Date copy = new Date(original.getTime());

 

[출처] https://stackoverflow.com/questions/28332484/is-there-a-way-to-copy-date-object-into-another-date-object-without-using-a-refe

'공부' 카테고리의 다른 글

[NodeJS] ngrok command not found in MacOSX  (0) 2020.01.18
[Hive] FAILED: ParseException line 1:109 missing EOF at 'as' near ')'  (0) 2020.01.18
[Java] Deep copy Date  (0) 2020.01.18
[Nginx] 405 Not Allowed  (0) 2020.01.18
[Algorithm] Swap by 3 XOR  (0) 2020.01.18
[Oracle] Alter Table  (0) 2020.01.18
댓글
댓글쓰기 폼