并且在我的最新项目中—保险行业—纠正日期计算尤其重要。
And in my most recent engagement - in the insurance industry - correct date calculations are especially important.
使用JDK实在太痛苦了,即使是简单的日期计算,比如上面这个计算。
It's just too painful to use the JDK to do even a simple date calculation like this one.
日期计算——查询和更新中的日期可用与当前日期的差值来指定。
Date Math - specify dates relative to "NOW" in queries and updates.
然后介绍了一些Joda概念,以及如何使用Joda执行日期计算和格式化。
Next you looked at some Joda concepts, and then how to use Joda to do date calculations and formatting.
如果不是这样的话,那么继续痛苦地使用Calendar完成所有日期计算吧。
If not, by all means continue to use Calendar to do all of your date calculations.
日期计算在Geronimo系统中并不困难,因为定义了Calendar和date类。
Date calculations aren't difficult in Geronimo systems, as Calendar and Date classes are defined for you.
现在,您已经了解了如何创建一些非常有用的joda类,我将向您展示如何使用它们执行日期计算。
Now that you've seen how to create a few of the more useful Joda classes, I'll show you how to use them to perform date calculations.
我将向您展示的用于处理日期计算的API方法全部返回一个对应joda类的新实例,同时保持原始实例不变。
The API methods I'll show you for doing date calculations all return a new instance of the corresponding Joda class, leaving the original instance unchanged.
包含的成员会取得目前日期或时间、执行日期计算、传回日期或时间、设定日期或时间,或计算处理序持续期间的时间。
Contains members that get the current date or time, perform date calculations, return a date or time, set the date or time, or time the duration of a process.
如果“所有人”无法证明或提供初始安装日期的证明文件,则质量保证期按照附在热水器上的系列号板所标注的日期计算。
When Owner cannot verify or document the original date of installation, the warranty period begins on the date marked on the serial number plate affixed to the water heater.
凯文·凯利曾经解释过如何计算死亡的日期。
Kevin Kelly once explained how to calculate the date of death.
计算机通常可以很容易地为你确定信息的日期。
您应用程序的任何计算是基于日期或者甚至是每天的时间吗?
Are any computations in your application based on the date or even time of day?
他们的内部时钟从那时开始运转,使得他们能够在之后计算日期和时间。
Their internal clocks start counting from then, so they can calculate the date and time in the future.
此功能要求用户输入开始日期和结束日期。然后通过扣除用户定义的周末和假期列表来计算实际的工作日数。
This function asks the user to input the start date and end dates, and then calculates the number of actual working days by deducting the list of user-defined weekend days and holidays.
当保存初次约会时,该方法计算出所有重复事件日期,并为每个日程表日期生成一个单独的文档。
When the initial appointment is saved, all recurring event dates are calculated and a separate document is generated for each calendar date.
它拥有丰富的内嵌功能库,用于提高您的通常所需的操作的生产力,例如日期和时间计算、字符串处理,等等。
It has a rich library of built-in functions to boost your productivity for commonly required operations, such as date and time math, string manipulation, and so forth.
你希望你的数字电话能下载会场地址并计算出在会议日期到达的最佳列车路线;
You would like your digital phone to download the event's address and compute the best train route to arrive at that date and time.
例如,年龄是一个随时间而不断改变的值,可以通过一个特定的日期加以计算,即出生日期或创建日期。
For example, an age is a value that changes over time and can be calculated from a specific date — the birth or creation date.
这惊人的精确日期是由拥有数学头脑的大主教厄舍尔计算出来的,当年他经常在林肯律师学院旅馆前布道。
This astonishingly exact date had been calculated by the mathematically-minded clergyman Archbishop Ussher, who preached just down the road in Lincoln's Inn.
计算这两个日期之间的差(以分钟为单位),然后使用您所输入的单词数(由中间的命令输出)除以这个值,以得到平均每分钟输入的单词数。
Take the difference in minutes between the two dates and divide by the number of words you typed (which is output by the middle command) to get the average number of words per minute you type.
其目的是为了方便日期和现金计算,而不同团体书写计算的不同部分。
[...] the purpose of this language is to facilitate date and currency calculations where different parties write different parts of the calculation.
研究了所有语言版本的日期格式之后,我们能够修改该代码以接受所有日期格式,从而在所有支持的语言版本中正确计算出净工作日。
After studying the date format for all languages, we were able to modify the code to accept all date formats and to calculate the network days correctly in all supported language releases.
这里采用了最常用的标准日期格式:ISO日期(包括年),仅仅是一天的某个时间或以分钟计算的时间偏移。
This takes the most common standard date formats: ISO dates (including year), just a time of day, or an offset in minutes.
许多日期和时间计算都可以在不涉及时区的情况下完成,但是仍然需要了解DateTimeZone如何影响Joda 的操作。
Many date and time calculations can be done without regard to time zone, but it's still important to understand how DateTimeZone affects what Joda is doing.
更好的方法是使用一种方法来计算日期,比如Calendar . get (Calendar .YEAR),从而避免创建额外的字符串和正则表达式。
Better yet, use a method of working out the date which avoids creating extra strings and regular expression matching, such as Calendar.get (Calendar.YEAR).
您可以以这种方式计算从明天起90天以后的日期。
DatesandTimes提供了大量的日期操作功能,包括计算两个日期之间的差,以及检索本地系统的当前日期和时间。
Dates and Times provides a broad spectrum of date manipulation functionality, including calculating the difference between two dates and retrieving the local system current date and time.
DatesandTimes提供了大量的日期操作功能,包括计算两个日期之间的差,以及检索本地系统的当前日期和时间。
Dates and Times provides a broad spectrum of date manipulation functionality, including calculating the difference between two dates and retrieving the local system current date and time.
应用推荐