package com.zzsn.common.poi;

import java.text.DecimalFormat;


public class Constants {

	/**
     * The name of the ResourceBundle used in this application
     */
    public static final String BUNDLE_KEY = "ApplicationResources";

	public static String REPORT_FORM_FIELD_ATTRIBUTE_NAME = "WR_FORMFIELDS";

	public static String REPORT_HAS_POST_PARAM_ATTRIBUTE_NAME = "WR_POSTPARAMS";

	public static String REPORT_ECSIDE_LIST_ATTRIBUTE_NAME = "ECSIDE_LIST";

	public static String REPORT_FUSIONCHART_XML_DATA = "fusionxml";

	public static final String LOGIN_USER_SESSION_NAME = "user";

	public static final String FSP = System.getProperty("file.separator");

	public static final String DATE_PATTERN = "yyyy-MM-dd HH:mm:ss";

	public static final String DATE_DAY_PATTERN = "yyyy-MM-dd";

	public static final String USER_HOME = System.getProperty("user.home");

	public static final String APPLICATION_DATA_DIR = USER_HOME+FSP+"mrasdata"+FSP;

	//固化后取数结果文件存放文件夹
	public static final String EXTRA_MKTSUPPORT_DATA = APPLICATION_DATA_DIR+"mktsupport"+FSP;

	public static final String TEMP_FILES_DIR = System.getProperty("user.home")+Constants.FSP+"temp"+Constants.FSP;


    public static final DecimalFormat NOZERO_FORMAT = new DecimalFormat("0");
    public static final DecimalFormat ZERO_FORMAT = new DecimalFormat("0.00");
    public static final DecimalFormat DECIMAL_FORMAT = new DecimalFormat("0.##");
    public static final DecimalFormat PERCENT_FORMAT = new DecimalFormat("0.00%");


  //取数结果文件存放文件夹
	public static final String DATA_EXPORT = USER_HOME + FSP + "mras" + FSP;

	/*
	 * excel 文件后缀标识
	 */
	public static final String EXCEL_FILE_SUFFIX = "D0CF11E0";

	/*
	 * zip文件后缀标识
	 */
	public static final String ZIP_FILE_SUFFIX = "504B0304";

}
