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.

78 lines
1.8 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 _date = {
/**
*
*/
getTimezone: (date: Date) => string;
/**
*
*/
getMonthDays: (date: Date, month: number) => number;
/**
*
*/
getLastDateOfMonth: (data: Date) => Date;
/**
*
*/
getDayOfYear: (data: Date) => number;
/**
*
*/
getWeekNumber: (data: Date) => number;
/**
*
*/
getQuarter: (date: Date) => number;
/**
*
*/
getOffsetDate: (date: Date, offset: number) => Date;
/**
*
*/
getOffsetQuarter: (date: Date, n: number) => Date;
/**
*
*/
getQuarterStartMonth: (date: Date) => number;
/**
*
*/
getQuarterStartDate: (date: Date) => number;
/**
*
*/
getQuarterEndDate: (date: Date) => number;
/**
* n个月之前或之后的日期
*/
getOffsetMonth: (date: Date, n: number) => Date;
/**
*
*/
getWeekStartDate: (date: Date) => Date;
/**
*
*/
getWeekEndDate: (date: Date) => Date;
/**
*
*/
print: (date: Date, str: string) => string;
5 years ago
};