package com.sckw.core.common.enums;

import java.time.format.DateTimeFormatter;

/**
 * @description: 定义字符串常量
 * @author: LengFaQiang
 * @copyright
 * @create: 2022-01-27 16:02
 **/
public final class StringConstant {
    public static final String LEFT_SEPARATOR = "/";
    public static final String LEFT_SEPARATORS = "//";
    public static final String RIGHT_SEPARATOR = "\\";
    public static final String COLON = ":";
    public static final String SEMICOLON = ";";
    public static final String POINT = ".";

    public static final String COMMA = ",";

    /**
     * 中横线
     */
    public static final String HYPHEN = "-";

    /**
     * 下划线
     */
    public static final String UNDERLINE = "_";
    public static final String HTTP_STRING = "http";
    public static final String HTTPS_STRING = "https";
    public static final String B = "B";
    public static final String KB = "KB";

    public static final String MB = "MB";
    public static final String G = "G";
    public static final String GB = "GB";
    public static final String DEFAULT_DATE_PATTERN = "yyyy-MM-dd HH:mm:ss";
    public static final String DEF_DATE_FORMAT = "yyyy-MM-dd";
    public static final DateTimeFormatter YYYY_MM_DD_HH_MM_SS = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
    public static final DateTimeFormatter YYYY_MM_DD = DateTimeFormatter.ofPattern("yyyy-MM-dd");
    public static final DateTimeFormatter HH_MM_SS = DateTimeFormatter.ofPattern("HH:mm:ss");
    public static final String DATE_YYYYMMDD = "yyyyMMdd";
    public static final String ENCODING_UTF_EIGHT = "UTF-8";
    public static final String ENCODING_UTF_SIXTEEN = "UTF-16";
    public static final String ENCODING_GBK = "GBK";
    public static final String ENCODING_ISO = "ISO8859-1";

    public StringConstant() {
    }
}
