Java时区国际化统一为东八区时间 使用localdate获取本周、上周、本月、上月、本季度、上季度、本年、去年工具类

Java中 LocalDate、LocalTime、LocalDateTime三个时间工具类的使用介绍 Java中 LocalDate、LocalTime、LocalDateTime三个时间工具类的使用介绍 一、背景: 之前在做项目的过程中,对日期时间类没有一个系统的了解,总是在用的时候去搜索一下,解决问题即完事,久而久之,导致对这个概念特别模糊。直到近期,做项目的过程中使用了mybatis-plus框架... 阅读详情
 TimeZoneIdContext.setTimeZoneId(ZoneIdEnum.CST.getZoneIdName());
        System.out.println("今天开始时间:" + todayStartTimeCtt());
        System.out.println("今天结束时间:" + todayEndTimeCtt());
        System.out.println("昨天开始时间:" + yesterdayStartTimeCtt());
        System.out.println("昨天结束时间:" + yesterdayEndTimeCtt());
        System.out.println("最近7天开始时间:" + last7DaysStartTimeCtt());
        System.out.println("最近7天结束时间:" + last7DaysEndTimeCtt());
        System.out.println("最近30天开始时间:" + last30DaysStartTimeCtt());
        System.out.println("最近30天天结束时间:" + last30DaysEndTimeCtt());
        System.out.println("最近一年开始时间:" + last1YearStartTimeCtt());
        System.out.println("最近一年结束时间:" + last1YearEndTimeCtt());
        System.out.println("本周开始时间:" + weekStartTimeCtt());
        System.out.println("本周结束时间:" + weekEndTimeCtt());
        System.out.println("本月开始时间:" + monthStartTimeCtt());
        System.out.println("本月结束时间:" + monthEndTimeCtt());
        System.out.println("本季度开始时间:" + quarterStartTimeCtt());
        System.out.println("本季度结束时间:" + quarterEndTimeCtt());
        System.out.println("本半年开始时间:" + halfYearStartTimeCtt());
        System.out.println("本半年结束时间:" + halfYearEndTimeCtt());
        System.out.println("本年开始时间:" + yearStartTimeCtt());
        System.out.println("本年结束时间:" + yearEndTimeCtt());
        System.out.println("上周开始时间:" + lastWeekStartTimeCtt());
        System.out.println("上周结束时间:" + lastWeekEndTimeCtt());
        System.out.println("上月开始时间:" + lastMonthStartTimeCtt());
        System.out.println("上月结束时间:" + lastMonthEndTimeCtt());
        System.out.println("上季度开始时间:" + lastQuarterStartTimeCtt());
        System.out.println("上季度结束时间:" + lastQuarterEndTimeCtt());
        System.out.println("上半年开始时间:" + lastHalfYearStartTimeCtt());
        System.out.println("上半年结束时间:" + lastHalfYearEndTimeCtt());
        System.out.println("上一年开始时间:" + lastYearStartTimeCtt());
        System.out.println("上一年结束时间:" + lastYearEndTimeCtt());
        System.out.println("下周开始时间:" + nextWeekStartTimeCtt());
        System.out.println("下周结束时间:" + nextWeekEndTimeCtt());
        System.out.println("下月开始时间:" + nextMonthStartTimeCtt());
        System.out.println("下月结束时间:" + nextMonthEndTimeCtt());
        System.out.println("下季度开始时间:" + nextQuarterStartTimeCtt());
        System.out.println("下季度结束时间:" + nextQuarterEndTimeCtt());
        System.out.println("下半年开始时间:" + nextHalfYearStartTimeCtt());
        System.out.println("下半年结束时间:" + nextHalfYearEndTimeCtt());
        System.out.println("下一年开始时间:" + nextYearStartTimeCtt().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
        System.out.println("下一年结束时间:" + nextYearEndTimeCtt().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.Month;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAdjusters;

/**
 * 获取请求时间转到东八区时间
 * @className TimeZoneCttLocalDateTimeUtils
 **/
public class TimeZoneCttLocalDateTimeUtils {
    
    /**
     * 请求参数时区
     * @return
     */
    private static ZoneId reqTimeZoneId(){
        String timeZone = StringUtilsPlus.defaultIfBlank(TimeZoneIdContext.getTimeZoneId().get(),ZoneId.systemDefault().getId());
        ZoneId zoneId = ZoneId.of(timeZone);
        return zoneId;
    }
    private static LocalDateTime localDateTimeCtt(LocalDateTime reqTimeZoneIdDateTime,String sourceTimeZone){
        return TimeZoneUtils.convertTimeZoneLocalDateTime(reqTimeZoneIdDateTime.format(DateTimeFormatter.ofPattern(
                GlobalConstants.YYYY_MM_DD_HH_MM_SS)),sourceTimeZone,ZoneIdEnum.CTT.getZoneIdName());
    }
    /**
     * 当前时间转东八区时间 亚洲上海时间
     *
     * @return
     */
    public static LocalDateTime nowCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.now(zoneId);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    
    /**
     * 今天开始时间
     *
     * @return
     */
    public static LocalDateTime todayStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 今天结束时间
     *
     * @return
     */
    public static LocalDateTime todayEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 昨天开始时间
     *
     * @return
     */
    public static LocalDateTime yesterdayStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime =LocalDateTime.of(LocalDate.now(zoneId).minus(1L, ChronoUnit.DAYS), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 昨天结束时间
     *
     * @return
     */
    public static LocalDateTime yesterdayEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).minus(1L, ChronoUnit.DAYS), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 最近7天开始时间
     *
     * @return
     */
    public static LocalDateTime last7DaysStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).minus(6L, ChronoUnit.DAYS), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 最近7天结束时间
     *
     * @return
     */
    public static LocalDateTime last7DaysEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime =  LocalDateTime.of(LocalDate.now(zoneId), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 最近30天开始时间
     *
     * @return
     */
    public static LocalDateTime last30DaysStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime =  LocalDateTime.of(LocalDate.now(zoneId).minus(29L, ChronoUnit.DAYS), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 最近30天结束时间
     *
     * @return
     */
    public static LocalDateTime last30DaysEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 最近一年开始时间
     *
     * @return
     */
    public static LocalDateTime last1YearStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).minus(1L, ChronoUnit.YEARS).plus(1L, ChronoUnit.DAYS), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 最近一年结束时间
     *
     * @return
     */
    public static LocalDateTime last1YearEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 本周开始时间
     *
     * @return
     */
    public static LocalDateTime weekStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(now.minusDays(now.getDayOfWeek().getValue() - 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    /**
     * 本周结束时间
     *
     * @return
     */
    public static LocalDateTime weekEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(now.plusDays(7 - now.getDayOfWeek().getValue()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
        
    }
    
    /**
     * 本月开始时间
     *
     * @return
     */
    public static LocalDateTime monthStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).with(TemporalAdjusters.firstDayOfMonth()), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 本月结束时间
     *
     * @return
     */
    public static LocalDateTime monthEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).with(TemporalAdjusters.lastDayOfMonth()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 本季度开始时间
     *
     * @return
     */
    public static LocalDateTime quarterStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        Month month = Month.of(now.getMonth().firstMonthOfQuarter().getValue());
        LocalDateTime reqTimeZoneIdDateTime =  LocalDateTime.of(LocalDate.of(now.getYear(), month, 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 本季度结束时间
     *
     * @return
     */
    public static LocalDateTime quarterEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        Month month = Month.of(now.getMonth().firstMonthOfQuarter().getValue()).plus(2L);
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.of(now.getYear(), month, month.length(now.isLeapYear())), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 本半年开始时间
     *
     * @return
     */
    public static LocalDateTime halfYearStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        Month month = (now.getMonthValue() > 6) ? Month.JULY : Month.JANUARY;
        LocalDateTime reqTimeZoneIdDateTime =  LocalDateTime.of(LocalDate.of(now.getYear(), month, 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 本半年结束时间
     *
     * @return
     */
    public static LocalDateTime halfYearEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        Month month = (now.getMonthValue() > 6) ? Month.DECEMBER : Month.JUNE;
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.of(now.getYear(), month, month.length(now.isLeapYear())), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 本年开始时间
     *
     * @return
     */
    public static LocalDateTime yearStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).with(TemporalAdjusters.firstDayOfYear()), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 本年结束时间
     *
     * @return
     */
    public static LocalDateTime yearEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now().with(TemporalAdjusters.lastDayOfYear()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上周开始时间
     *
     * @return
     */
    public static LocalDateTime lastWeekStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate lastWeek = LocalDate.now(zoneId).minus(1L, ChronoUnit.WEEKS);
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(lastWeek.minusDays(lastWeek.getDayOfWeek().getValue() - 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上周结束时间
     *
     * @return
     */
    public static LocalDateTime lastWeekEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate lastWeek = LocalDate.now(zoneId).minus(1L, ChronoUnit.WEEKS);
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(lastWeek.plusDays(7 - lastWeek.getDayOfWeek().getValue()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上月开始时间
     *
     * @return
     */
    public static LocalDateTime lastMonthStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).minus(1L, ChronoUnit.MONTHS).with(TemporalAdjusters.firstDayOfMonth()), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上月结束时间
     *
     * @return
     */
    public static LocalDateTime lastMonthEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).minus(1L, ChronoUnit.MONTHS).with(TemporalAdjusters.lastDayOfMonth()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上季度开始时间
     *
     * @return
     */
    public static LocalDateTime lastQuarterStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        Month firstMonthOfQuarter = Month.of(now.getMonth().firstMonthOfQuarter().getValue());
        Month firstMonthOfLastQuarter = firstMonthOfQuarter.minus(3L);
        int yearOfLastQuarter = firstMonthOfQuarter.getValue() < 4 ? now.getYear() - 1 : now.getYear();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.of(yearOfLastQuarter, firstMonthOfLastQuarter, 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上季度结束时间
     *
     * @return
     */
    public static LocalDateTime lastQuarterEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now();
        Month firstMonthOfQuarter = Month.of(now.getMonth().firstMonthOfQuarter().getValue());
        Month firstMonthOfLastQuarter = firstMonthOfQuarter.minus(1L);
        int yearOfLastQuarter = firstMonthOfQuarter.getValue() < 4 ? now.getYear() - 1 : now.getYear();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.of(yearOfLastQuarter, firstMonthOfLastQuarter, firstMonthOfLastQuarter.maxLength()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上半年开始时间
     *
     * @return
     */
    public static LocalDateTime lastHalfYearStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        int lastHalfYear = (now.getMonthValue() > 6) ? now.getYear() : now.getYear() - 1;
        Month firstMonthOfLastHalfYear = (now.getMonthValue() > 6) ? Month.JANUARY : Month.JULY;
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.of(lastHalfYear, firstMonthOfLastHalfYear, 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上半年结束时间
     *
     * @return
     */
    public static LocalDateTime lastHalfYearEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now();
        int lastHalfYear = (now.getMonthValue() > 6) ? now.getYear() : now.getYear() - 1;
        Month lastMonthOfLastHalfYear = (now.getMonthValue() > 6) ? Month.JUNE : Month.DECEMBER;
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.of(lastHalfYear, lastMonthOfLastHalfYear, lastMonthOfLastHalfYear.maxLength()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上一年开始时间
     *
     * @return
     */
    public static LocalDateTime lastYearStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).minus(1L, ChronoUnit.YEARS).with(TemporalAdjusters.firstDayOfYear()), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 上一年结束时间
     *
     * @return
     */
    public static LocalDateTime lastYearEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).minus(1L, ChronoUnit.YEARS).with(TemporalAdjusters.lastDayOfYear()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下周开始时间
     *
     * @return
     */
    public static LocalDateTime nextWeekStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate nextWeek = LocalDate.now(zoneId).plus(1L, ChronoUnit.WEEKS);
        LocalDateTime reqTimeZoneIdDateTime =  LocalDateTime.of(nextWeek.minusDays(nextWeek.getDayOfWeek().getValue() - 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下周结束时间
     *
     * @return
     */
    public static LocalDateTime nextWeekEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate nextWeek = LocalDate.now(zoneId).plus(1L, ChronoUnit.WEEKS);
        LocalDateTime reqTimeZoneIdDateTime =   LocalDateTime.of(nextWeek.plusDays(7 - nextWeek.getDayOfWeek().getValue()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下月开始时间
     *
     * @return
     */
    public static LocalDateTime nextMonthStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime =  LocalDateTime.of(LocalDate.now(zoneId).plus(1L, ChronoUnit.MONTHS).with(TemporalAdjusters.firstDayOfMonth()), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下月结束时间
     *
     * @return
     */
    public static LocalDateTime nextMonthEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime =  LocalDateTime.of(LocalDate.now(zoneId).plus(1L, ChronoUnit.MONTHS).with(TemporalAdjusters.lastDayOfMonth()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下季度开始时间
     *
     * @return
     */
    public static LocalDateTime nextQuarterStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        Month firstMonthOfQuarter = Month.of(now.getMonth().firstMonthOfQuarter().getValue());
        Month firstMonthOfNextQuarter = firstMonthOfQuarter.plus(3L);
        int yearOfNextQuarter = firstMonthOfQuarter.getValue() > 9 ? now.getYear() + 1 : now.getYear();
        LocalDateTime reqTimeZoneIdDateTime =   LocalDateTime.of(LocalDate.of(yearOfNextQuarter, firstMonthOfNextQuarter, 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下季度结束时间
     *
     * @return
     */
    public static LocalDateTime nextQuarterEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        Month firstMonthOfQuarter = Month.of(now.getMonth().firstMonthOfQuarter().getValue());
        Month firstMonthOfNextQuarter = firstMonthOfQuarter.plus(5L);
        int yearOfNextQuarter = firstMonthOfQuarter.getValue() > 9 ? now.getYear() + 1 : now.getYear();
        LocalDateTime reqTimeZoneIdDateTime =    LocalDateTime.of(LocalDate.of(yearOfNextQuarter, firstMonthOfNextQuarter, firstMonthOfNextQuarter.maxLength()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下半年开始时间
     *
     * @return
     */
    public static LocalDateTime nextHalfYearStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        int nextHalfYear = (now.getMonthValue() > 6) ? now.getYear() + 1 : now.getYear();
        Month firstMonthOfNextHalfYear = (now.getMonthValue() > 6) ? Month.JANUARY : Month.JULY;
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.of(nextHalfYear, firstMonthOfNextHalfYear, 1), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下半年结束时间
     *
     * @return
     */
    public static LocalDateTime nextHalfYearEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDate now = LocalDate.now(zoneId);
        int lastHalfYear = (now.getMonthValue() > 6) ? now.getYear() + 1 : now.getYear();
        Month lastMonthOfNextHalfYear = (now.getMonthValue() > 6) ? Month.JUNE : Month.DECEMBER;
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.of(lastHalfYear, lastMonthOfNextHalfYear, lastMonthOfNextHalfYear.maxLength()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下一年开始时间
     *
     * @return
     */
    public static LocalDateTime nextYearStartTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).plus(1L, ChronoUnit.YEARS).with(TemporalAdjusters.firstDayOfYear()), LocalTime.MIN);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    /**
     * 下一年结束时间
     *
     * @return
     */
    public static LocalDateTime nextYearEndTimeCtt() {
        ZoneId zoneId = reqTimeZoneId();
        LocalDateTime reqTimeZoneIdDateTime = LocalDateTime.of(LocalDate.now(zoneId).plus(1L, ChronoUnit.YEARS).with(TemporalAdjusters.lastDayOfYear()), LocalTime.MAX);
        return localDateTimeCtt(reqTimeZoneIdDateTime,zoneId.getId());
    }
    
    public static void main(String[] args) {
        TimeZoneIdContext.setTimeZoneId(ZoneIdEnum.CST.getZoneIdName());
        System.out.println("今天开始时间:" + todayStartTimeCtt());
        System.out.println("今天结束时间:" + todayEndTimeCtt());
        System.out.println("昨天开始时间:" + yesterdayStartTimeCtt());
        System.out.println("昨天结束时间:" + yesterdayEndTimeCtt());
        System.out.println("最近7天开始时间:" + last7DaysStartTimeCtt());
        System.out.println("最近7天结束时间:" + last7DaysEndTimeCtt());
        System.out.println("最近30天开始时间:" + last30DaysStartTimeCtt());
        System.out.println("最近30天天结束时间:" + last30DaysEndTimeCtt());
        System.out.println("最近一年开始时间:" + last1YearStartTimeCtt());
        System.out.println("最近一年结束时间:" + last1YearEndTimeCtt());
        System.out.println("本周开始时间:" + weekStartTimeCtt());
        System.out.println("本周结束时间:" + weekEndTimeCtt());
        System.out.println("本月开始时间:" + monthStartTimeCtt());
        System.out.println("本月结束时间:" + monthEndTimeCtt());
        System.out.println("本季度开始时间:" + quarterStartTimeCtt());
        System.out.println("本季度结束时间:" + quarterEndTimeCtt());
        System.out.println("本半年开始时间:" + halfYearStartTimeCtt());
        System.out.println("本半年结束时间:" + halfYearEndTimeCtt());
        System.out.println("本年开始时间:" + yearStartTimeCtt());
        System.out.println("本年结束时间:" + yearEndTimeCtt());
        System.out.println("上周开始时间:" + lastWeekStartTimeCtt());
        System.out.println("上周结束时间:" + lastWeekEndTimeCtt());
        System.out.println("上月开始时间:" + lastMonthStartTimeCtt());
        System.out.println("上月结束时间:" + lastMonthEndTimeCtt());
        System.out.println("上季度开始时间:" + lastQuarterStartTimeCtt());
        System.out.println("上季度结束时间:" + lastQuarterEndTimeCtt());
        System.out.println("上半年开始时间:" + lastHalfYearStartTimeCtt());
        System.out.println("上半年结束时间:" + lastHalfYearEndTimeCtt());
        System.out.println("上一年开始时间:" + lastYearStartTimeCtt());
        System.out.println("上一年结束时间:" + lastYearEndTimeCtt());
        System.out.println("下周开始时间:" + nextWeekStartTimeCtt());
        System.out.println("下周结束时间:" + nextWeekEndTimeCtt());
        System.out.println("下月开始时间:" + nextMonthStartTimeCtt());
        System.out.println("下月结束时间:" + nextMonthEndTimeCtt());
        System.out.println("下季度开始时间:" + nextQuarterStartTimeCtt());
        System.out.println("下季度结束时间:" + nextQuarterEndTimeCtt());
        System.out.println("下半年开始时间:" + nextHalfYearStartTimeCtt());
        System.out.println("下半年结束时间:" + nextHalfYearEndTimeCtt());
        System.out.println("下一年开始时间:" + nextYearStartTimeCtt().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
        System.out.println("下一年结束时间:" + nextYearEndTimeCtt().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));
    }
    
}

Java时间类(十三) -- LocalDateTimeParseUtil工具类 -- 关于时间类之间转化的工具类 pattern为工具类定义的静态常量--多种时间格式。pattern为工具类定义的静态常量--多种时间格式。pattern为工具类定义的静态常量--多种时间格式。pattern为工具类定义的静态常量--多种时间格式。 阅读详情

相关推荐

科研党福音:如何用Zotero+Paper Agent打造你的AI论文速递系统(附详细配置教程)

本文为科研工作者提供了一套利用Zotero和开源工具Paper Agent构建自动化AI论文速递系统的详细教程。该系统能基于用户在Zotero中的文献库智能学习研究兴趣,每日自动从arXiv等平台筛选、下载并深度解读最相关的前沿论文,生成个性化日报,实现从被动接收到主动精准获取的知识工作流重塑。

kite3的博客 512

LocalDateTime工具类

用了ideal和jdk1.8后,LocalDateTime的使用就少不了。有些功能用Date会使用,但在LocalDateTime里有些功能是略微有些不同。相比之下LocalDateTime的使用更加简洁,也就是一行代码的事所以也用不着写工具类。API文档 里面有时间工具类、加密、表格、文件、图片、zip、http、json、map、数组等等,功能多的背不过来,需要啥就去搜索一下有没有自己想要的,没有的话在自己去写。上面写的方法比较少, 因为发现了一个很强大的开源工具类jar包:hutool,分享给大家。.

qq_29539827的博客 1745

别再只调电压了!深入理解数控电源的CC/CV模式与双闭环PID控制(以BUCK电路为例)

本文深入解析数控电源的CC/CV模式与双闭环PID控制技术,以BUCK电路为例,探讨如何通过双闭环控制优化负载突变响应和模式切换稳定性。文章详细介绍了电压环与电流环的协同工作原理、PID参数整定技巧及工程实践中的非线性补偿方法,帮助工程师提升电源设计的智能控制能力。

weixin_27017211的博客 261

LocalDateTime工具类:根据当前、周、月、季度、半年、年等维度获取时间

1. 简介   Java8提供了全新的日期处理包(java.time.*),根据Java8日期新特性封装日期时间工具类LocalDateTimeUtils。 2. 相关博客   Java 8 新特性:日期处理 3. 工具类方法目录 说明 方法名称 当前时间 LocalDateTimeUtils.now() Date 转 LocalDateTime LocalDateTimeUt...

C3Stones 9180

Blender SMPL-X 插件安装

Blender XMPL-X 插件安装

heleneveryday的专栏 5358

Diffix3D+复现

上下载模型,将其放在一个目录中,并将目录名填在demo代码中from_pretrained的cache_dir参数里。目录结构应该是"<PATH>/nvidia/difix/…给的requirements文件中pytorch和xformers的版本没有指定,这里测试过以下版本,可以成功运行。将readme中的demo代码新建一个python脚本复制进去,然后将脚本放在src目录中运行。如果遇到网络问题无法加载huggingface上的预训练模型,可以手动从。如果出现,以下错误重新。

NeverMakeIt的博客 1085

Scala - 时间工具类 LocalDateTime 常用方法整理

Scala / Java LocalDateTime 常用方法整理。

BITDDD小栈 6297

OC5021B 100V宽电压输入 LED车灯/大功率照明 DC降压型恒流驱动器

适用于LED大功率汽车大灯/大功率照明 OC5021B 100V宽电压输入 5A电流设计 DC-DC降压型恒流驱动IC

Handsome63841990的博客 2416

Java日期工具类LocalDateTime

压轴的来了,个人感觉LocalDateTime是使用频率最高的工具类,所以本篇像文章详细研究说明一下🧐。Java8新特性日期工具类的梳理到此结束,欢迎大家补充说明😉。👍,那么本篇文章就算是一个整合、进阶吧😎。

Death Note 1989

SAP_SD模块销售利润中心替代简介

SAP SD模块跨公司销售利润中心替代简介 在SAP SD模块中,系统自动生成的财务凭证需要正确反映利润中心归属。当默认利润中心取值不符合业务逻辑时(如跨公司销售、多组织共用工厂等情况),需配置利润中心替代功能。该功能通过事务码0KEM定义替代规则,可根据物料、客户等条件自动替换利润中心字段。系统配置包括创建替代规则、定义先决条件、设置用户出口程序等步骤。对于复杂业务场景,还可通过用户出口或BADI增强实现。利润中心替代能确保销售收入与成本正确核算,避免利润分配错误,满足企业多维度利润分析需求。

我小时候很黑的博客 433

iStoreOS等软路由插件卸载的残留?分享一款软路由高级卸载工具,自定义卸载,轻松解决卸载残留问题

iStoreOS用户看过来!👀 还在被插件包残留困扰吗?本文分享一款“高级卸载”的插件,助你深度清理iStoreOS系统,彻底解决软件卸载不净的痛点,告别频繁恢复出厂设置的烦恼!🚀

XiaoqiangClub的博客 1536

java——LocalDateTime工具类

LocalDateTime简单介绍: Java一直以来使用的日期类型是Date,Calendar类,但它们使用起来并不是很方便,而且据说Date类存在线程不安全的问题。同时每次使用时都要进行封装,使用时特别麻烦。所以Java-8中出现了了线程安全、简易、高可靠的时间包。并且数据库中也支持LocalDateTime类型,在数据存储时候使时间变得简单。Java8这次新推出的包括三个相关的时间类型:L...

qq_42133100的博客 2990

群无人机航迹规划-虚拟管道

图源北理工全权老师团队虚拟管道相关论文,文字为个人理解,以ppt形式分享报告。

coldmood77的博客 668

LocalDateTimeUtils

文章目录前言一、相关方法使用二、测试 前言 jdk8新特性 LocalDateTime是线程安全的,其内置的方法更多,更好用 借鉴地址【https://mp.weixin.qq.com/s/Dd_7yUh3lq3TqE2cjsYXv】 一、相关方法使用 /** * 间隔(分钟) */ public static final int INTERVAL = 3; /** * 中国时区(+8) */ public static final Zon

还是要稳扎稳打 1157

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

LocalDateTime时间处理工具类

LocalDateTime是Java 8引入的日期时间类,表示一个不带时区的日期时间,包含年、月、日、小时、分钟、秒和毫秒等信息。主要应用于需要处理不带时区的日期时间的场景,如日志记录、时间计算、定时任务等。of():根据指定的年、月、日、小时、分钟、秒等信息创建LocalDateTime实例。minusXXX():在日期时间上减少指定的年、月、日、小时、分钟、秒或毫秒。plusXXX():在日期时间上增加指定的年、月、日、小时、分钟、秒或毫秒。这段代码是一个工具类,用来进行日期时间的转换和格式化。

qq_30503389的博客 647

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

LocalDateTime 时间工具类以及所有的方法-复制即用

工具类 import java.text.SimpleDateFormat; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.Calendar; import java.util.Date; public class LocalDateTimeUtil { public static final DateTimeFormatter TIME_FORMATTER = DateTimeFo

weixin_44137464的博客 1572

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

LocalDateTime工具类篇

【代码】LocalDateTime工具类篇。

IceStreamLab 543

获取LocalDateTime类型参数的月份和年份

private LocalDateTime date; //获取LocalDateTime的年份 date.getYear(); //这样可以获得LocalDateTime类型参数的月份 Month month=date.getMonth(); //如果不想使用Month类型的月份,想使用int类型,使用下面方法即可 int monthNum=month.getValue(); ...

成熟的标题 3276

时间工具类

时间处理工具类

Em_dark的博客 512

使用localdate获取本周、上周、本月、上月、本季度、上季度、本年、去年

【代码】使用localdate获取本周、上周、本月、上月、本季度、上季度、本年、去年。

qq_41765267的博客 3668

LocalDateTime使用 + 一些 时间方法工具类总结

/2023-03-28 01:57:53 12小时制。//2023-03-28 13:57:53 24小时制。

weixin_43543654的博客 854

详细分析Java中的LocalDateTime类

一开始使用Date类来表述时间属性,一个问题是 时间戳的问题,另一个问题是读取Excel数据格式的时候没有那么灵活

码农研究僧的博客 1万+

LocalDateTime常用方法

是 Java 8 中用于获取当前时间的静态方法。

FDJKDF的博客 2796

LocalDate快速获取当前季度

LocalDate start = LocalDate.now(); int quarter = (start.getMonthValue()-1)/3 + 1; start = start.withMonth(quarter*3 - 2*quarter); System.out.println(quarter); System.out.println(start);

qq_41595512的博客 5673
上一篇: localdatetime获取本周、上周、本月、上月、本季度、上季度、本年、去年工具类
下一篇: easyexce时区国际化处理
狂野弘仁
博客等级 码龄8年 34粉丝 81原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值