
工具类
刘水水
这个作者很懒,什么都没留下…
展开
-
SpringBoot项目集成Redis
pom<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId></dependency>application.ymlspring: redis: host: 127.0.0.1 port: 6379 password: pass原创 2021-11-25 17:35:06 · 109 阅读 · 0 评论 -
Java数字转换大写
public class NumberUtils { /** * 单位进位,中文默认为4位即(万、亿) */ public static int UNIT_STEP = 4; /** * 单位 */ public static String[] CN_UNITS = new String[]{"个", "十", "百", "千", "万", "十", "百", "千", "亿", "十", "百", "千", "万"原创 2021-06-21 15:10:22 · 798 阅读 · 0 评论 -
java获取两个日期之间的所有日期
/** * 获取两个日期之间的所有日期 * @param beginDate 开始日期 * @param endDate 结束日期 * @return 日期集合 * @author junyi.liu */public static List<String> getAllDatesBetweenTwoDates(String beginDate,String endDate) { List<String> days = new ArrayList<>原创 2020-09-28 16:16:27 · 498 阅读 · 0 评论 -
DateUtil Java时间工具类
import java.text.ParseException;import java.text.ParsePosition;import java.text.SimpleDateFormat;import java.util.*;/********************************创建标记********************************* * * 修改时间: * 修改人: * 修改描述: *********************************原创 2020-07-29 13:29:35 · 490 阅读 · 2 评论