首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
只知其一专题
Java-很深我只知其一-Calendar类
Calendar类一般用其获取时间,和设定时间使用,不仅如此,还可以区分东西方星期首先Calendar类继承了Objectimplements,Serializable,Cloneable,Comparable<Calendar>同时Calendar 是被 public 和 abstract 修饰的 所以,我们不能直接通过new 获取实例对象需要通过其子类获取实例对象 :获取当前时间操作: pub
阅读更多...
Java-很深我只知其一-BufferedImage对象绘制图片(P图)
BufferedImage对象绘制图片(P图) maven依赖 <dependency><groupId>commons-io</groupId><artifactId>commons-io</artifactId><version>2.4</version></dependency> 图片中加入简单的文字,并转换为Bsae64 String result;try {Bu
阅读更多...