Java的經常使用工具

一、格式化字符串 (1) import java.text.MessageFormat; (2) String format = MessageFormat("{0}xxx{n}",xxx,xxx);java 二、日期工具 (1) import java.util.Date; (2) Date now = new Date(); 獲取系統當前日期+時間 (3) Date fix = new(lon
相關文章
相關標籤/搜索