摘要:
代码 Typescript版 /** * TimeSpan just like the class TimpSpan in C# ,represent the time difference * @class TimeSpan */ class TimeSpan { constructor(mill 阅读全文
摘要:
代码部分 TypeScript 1 /** 2 * format a Date object 3 * 将 Date 转化为指定格式的String 4 * @param {Date} date 源日期对象 5 * @param {string} pattern 匹配模式 6 * @returns {s 阅读全文