pstmt = conn.prepareStatement("select ordernumber,datetime,price,dayofmoney from zujie where ordernumber= "+ cdName + " ") rs=pstmt.executeQuery() if(rs!=null && rs.next()){ String datetime = rs.getString(2) java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat ("yyyy-MM-dd") Date date = new Date() String date1=formatter.format(date) ParsePosition pos = new ParsePosition(0) ParsePosition pos1 = new ParsePosition(0) Date dt1=formatter.parse(datetime,pos) Date dt2=formatter.parse(date1,pos1) Long l = (dt2.getTime()-dt1.getTime())/(3600*24*1000)+1 double price = rs.getDouble(3) double dayofmoney=rs.getDouble(4) double dayofmoneybuy=dayofmoney*l double otherMoney = price-dayofmoneybuy request.setAttribute("price", price) request.setAttribute("l", l) request.setAttribute("dayofmoney", dayofmoneybuy) request.setAttribute("otherMoney", otherMoney)
標簽: prepareStatement ordernumber dayofmoney datetime
上傳時間: 2013-12-14
上傳用戶:zsjinju
This book is designed to teach you the best practices in developing Windows DNA applications. We have avoided making this book a primer on every technology associated with Windows DNA. If we had followed this course, this would be an encyclopedia set. Everyone has their favorite authors and books on the various technical subject areas. The market is full of books to teach you the basics, the how, this book tries to be different in that we pull out the important points to teach you about the why. If you need training in a particular technology covered in this book, Sams has a number of 24-hour and 21-day books that cover a wide range of topics.
標簽: applications developing practices designed
上傳時間: 2016-11-27
上傳用戶:yyq123456789
EhLib 4.2.16 中文漢化版 (Faceker.com 修改版) 1. DataService\EhLibADO.pas 第40行,ADODataSetDriverName函數(shù): 原:Result := MSACCESS 現(xiàn):Result := MSSQL 功能:字符串、日期界定符匹配(STFilter.Local=False情況下) 2.Common\EhLibConsts.pas 功能:常數(shù)漢化 3.Common\DBGridEhFindDlgs.pas\dfm A、FillColumnsList函數(shù): 原:cbFindIn.Items.AddObject( <All> , nil) 現(xiàn):cbFindIn.Items.AddObject(‘<全部>’, nil) B、界面中ComboBox中Items及KeyItems及Text漢化; C、主界面漢化; 4.Common\PrnDgDlg.pas\dfm 功能:界面漢化 5.Common\PrvFrmEh.pas\dfm 功能:界面漢化 6.Common\PrViewEh.pas 327行 TPreviewBox.Create 方法. 由 FViewMode = vmFullPage 改為 FViewMode = vm100 7.Common\DBUtilsEh.pas GetOneExpressionAsLocalFilterString 和 GetOneExpressionAsSQLWhereString 函數(shù) 功能:查詢行字符串查詢默認為LIKE查詢. 相關詳細更新信息請查看:http://www.Faceker.com 。
標簽: DataServiceEhLibADO Faceker EhLib com
上傳時間: 2013-12-27
上傳用戶:ztj182002
有版權爭議的內容和木馬病毒代碼 開發(fā)環(huán)境: 請選擇 Visual C++ Visual Basic DOS Unix_Linux C++ Builder Java Windows_Unix Delphi C-C++ PHP-PERL PHP Perl Python HTML Asm Pascal Borland C++ 其他 多平臺 C++ VFP SQL PDF TEXT WORD VBScript JavaScript ASP CSharp CHM FlashMX matlab PowerBuilder PPT LabView Flex MathCAD VBA PalmOS IDL LISP VHDL Objective-C(重要) 詳細功能: 4545 請認真閱讀您的文件包然后寫出其具體功能(至少要20個字)。盡量不要讓站長把時間都花費在為您修正說明上。壓縮包解壓時不能有密碼。系統(tǒng)會自動刪除debug
標簽: Visual Windows_Unix Unix_Linux Builder
上傳時間: 2013-12-08
上傳用戶:PresidentHuang
以圖片的形式簡單,明了的講解了Proteus中的如何取消TEXT字樣。一看就明白。
標簽:
上傳時間: 2016-12-13
上傳用戶:evil
一個自然語言處理的Java開源工具包。LingPipe目前已有很豐富的功能,包括主題分類(Top Classification)、命名實體識別(Named Entity Recognition)、詞性標注(Part-of Speech Tagging)、句題檢測(Sentence Detection)、查詢拼寫檢查(Query Spell Checking)、興趣短語檢測(Interseting Phrase Detection)、聚類(Clustering)、字符語言建模(Character Language Modeling)、醫(yī)學文獻下載/解析/索引(MEDLINE Download, Parsing and Indexing)、數(shù)據(jù)庫文本挖掘(Database Text Mining)、中文分詞(Chinese Word Segmentation)、情感分析(Sentiment Analysis)、語言辨別(Language Identification)等API。
上傳時間: 2013-12-04
上傳用戶:15071087253
wince6.0平臺上的任務管理器,功能類似于windows的任務管理器. In order to develop applications for Windows Mobile 6.x from within Visual Studio 2005 or 2008, you need to download a separate SDK from Microsoft. The SDK also ships with a full featured emulator, a powerful and indispensable tool to test your applications. This sample code uses COM and Compact .NET Framework 3.5.
標簽: applications develop Windows windows
上傳時間: 2017-01-16
上傳用戶:aappkkee
TC35i收發(fā)短信的源代碼,涉及TEXT和PDU發(fā)送模式
上傳時間: 2013-12-23
上傳用戶:gdgzhym
isual Chat 1.91 Developer Edition - Customize the Visual Chat code regarding your own requirements - Use customchatdev.html for developing / testing - Create .jar and .cab-files containing client-specific .class-files and the images-folder (use zip and cabarc compressing tools) - Adapt the customchat.html file - Upload all the files to your webserver - Start the ChatServer by invoking java at.ac.uni_linz.tk.vchat.ChatServer [port [server-key]] from your commandline - I kindly ask you to leave copyright and credit information in the InfoPanel.class as it is - but you are invited to add your own text. In case of violations I will consider excluding this class from the source in the future.
標簽: Chat requirement Developer Customize
上傳時間: 2017-01-27
上傳用戶:iswlkje
Design of Integrated Circuits for Optical Communications deals with the design of high-speed integrated circuits for optical communication systems. Written for both students and practicing engineers, the book systematically takes the reader from basic concepts to advanced topics, establishing both rigor and intuition. The text emphasizes analysis and design in modern VLSI technologies, particularly CMOS, and presents numerous broadband circuit techniques. Leading researcher Behzad Razavi is also the author of Design of Analog CMOS Integrated Circuits.
標簽: Communications Integrated high-speed Circuits
上傳時間: 2013-12-21
上傳用戶:zhouchang199