Topic: 大家看这个算法怎么写?(题目:String get(Date start_time, long time)) |
Print this page |
1.大家看这个算法怎么写?(题目:String get(Date start_time, long time)) | Copy to clipboard |
Posted by: pursuer2004 Posted on: 2005-07-20 17:25 题目:string get(Date start_time, long time) //传进两个参数start_time起始时间yyyymmddhhmmss,time从开始时间的时长 单位秒s 计算在0点到7点的时长h1,和除此之外的时长h2 return string(h1)+" "+string(h2) 请使用准确的文字描述作为标题 Frankly I don't understand what this get method is for... 计算在0点到7点的时长h1?? |
2.Re:大家看这个算法怎么写?(题目:String get(Date start_time, long time)) [Re: pursuer2004] | Copy to clipboard |
Posted by: pursuer2004 Posted on: 2005-07-21 16:44 public static long get_peak_duration(Date begin_time,long duration) 算时间好烦阿 算的是除了0-7点外的时间长度,单位:秒 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |