⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 source of perl for linux application,
💻
字号:
Time::Piece===========This module supercedes Time::Object (and has a better name).At this time the module is almost identical to Time::Object, withthe exception of strptime support. People using Time::Object shouldmigrate over to Time::Piece as they are able to do so. No furtherdevelopment will occur to Time::Object.DESCRIPTIONHave you ever thought you time was thoroughly wasted by doing:  $ perldoc -f localtimejust to recall the position of wday or some other item in the returnedlist of values from localtime (or gmtime) ?Well Time::Piece is the answer to your prayers.Time::Piece does the right thing with the return value from localtime:  - in list context it returns a list of values  - in scalar context it returns a Time::Piece object  - when stringified (or printed), Time::Piece objects look like    the output from scalar(localtime)Beyond that, Time::Piece objects allow you to get any part of thedate/time via method calls, plus they allow you to get at the stringform of the week day and month. It has methods for julian days, andsome simple date arithmetic options.Time::Piece also gives you easy access to your C library's strftimeand strptime functions, so you can parse and output locale sensitivedates to your heart's content :-)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -