fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.5 KiB

5 years ago
export declare type _Date = {
SECOND: number;
MINUTE: number;
HOUR: number;
DAY: number;
WEEK: number;
_DN: string[];
_SDN: string[];
_FD: number;
_MN: string[];
_SMN: number[];
_QN: string[];
_MD: number[];
_OFFSET: number[];
};
/**
*
*/
export declare type _getTimezone = (date: Date) => string;
/**
*
*/
export declare type _getMonthDays = (date: Date, month: number) => string;
/**
*
*/
export declare type _getLastDateOfMonth = (data: Date) => Date;
/**
*
*/
export declare type _getDayOfYear = (data: Date) => number;
/**
*
*/
export declare type _getWeekNumber = (data: Date) => number;
/**
*
*/
export declare type _getQuarter = (date: Date) => number;
/**
*
*/
export declare type _getOffsetDate = (date: Date, offset: number) => Date;
/**
*
*/
export declare type _getOffsetQuarter = (date: Date, n: number) => Date;
/**
*
*/
export declare type _getQuarterStartMonth = (date: Date) => number;
/**
*
*/
export declare type _getQuarterStartDate = (date: Date) => number;
/**
*
*/
export declare type _getQuarterEndDate = (date: Date) => number;
/**
* n个月之前或之后的日期
*/
export declare type _getOffsetMonth = (date: Date, n: number) => Date;
/**
*
*/
export declare type _getWeekStartDate = (date: Date) => Date;
/**
*
*/
export declare type _getWeekEndDate = (date: Date) => Date;
/**
*
*/
export declare type _print = (date: Date, str: string) => string;
export declare type _date = {
getTimezone: _getTimezone;
getMonthDays: _getMonthDays;
getLastDateOfMonth: _getLastDateOfMonth;
getDayOfYear: _getDayOfYear;
getWeekNumber: _getWeekNumber;
getQuarter: _getQuarter;
getOffsetDate: _getOffsetDate;
getOffsetQuarter: _getOffsetQuarter;
getQuarterStartMonth: _getQuarterStartMonth;
getQuarterStartDate: _getQuarterStartDate;
getQuarterEndDate: _getQuarterEndDate;
getOffsetMonth: _getOffsetMonth;
getWeekStartDate: _getWeekStartDate;
getWeekEndDate: _getWeekEndDate;
print: _print;
};