求过专题

日期计算函数:已知当前日期,求过了一段时间后的日期。

函数的功能是,根据当前日期,计算过了一段时间后的日期。 1. 流程图: 2.函数实现: /*** Method called to check if the date is valid. * short duration: unit is day. * short[] curData: current date, format is YYMMDD* byte [] expData