The date object is used to work with dates and times.
时间对象用来操作日期和时间。
Next, check the percentage of the CPU consumed by using the Date object.
下面,检查使用Date对象消耗的cpu百分比。
The resulting Date object will have its time portion set to midnight, of course.
(当然,产生的Date对象将把它自己的时间部分设置为午夜时刻)。
Note: the date object will automatically hold the current date and time as its initial value!
注意:时间对象将自动把当前的日期和时间作为初始值!
How do I print just the milliseconds (time between last second and next second) of a Date object?
我如何打印的毫秒(去年第二间隔时间,下一秒)的约会对象?。
And this example is similar to the preceding one except that this time I pass the Date object directly to the constructor.
并且这个例子与前例类似,唯一不同之处是我在这里将Date对象直接传递给构造函数。
The solution is to use the valueOf method on the Date object to see how long it has been since the start of the animation.
解决方案是使用Date对象的value Of方法确定动画开始了多长时间。
Note: if adding five days to a date shifts the month or year, the changes are handled automatically by the date object itself!
注意:如果给一日期增加天改为给月或年增加的话,一些变化会由时间对象自动处理!
The var and scope attributes are used to specify a scoped variable that -- as a result of <fmt:parseDate> -- the Date object is assigned to.
var和scope属性用来指定限定了作用域的变量(作为 <fmt:parseDate> 的结果),将把Date对象赋给该变量。
The %1$tB formatting string in the code above tells the program to use the first argument and print out the full month name for the date object.
上面代码中的格式化字符串 %1$tB告诉程序使用第一个参数并打印date对象的完整月名。
The current year was then worked out by constructing a Date object, formatted as a string, and then a regular expression was used to parse out the year.
当前年度通过构建一个Date对象(格式为一个字符串)计算,然后使用一个正则表达式来解析年份。
This example demonstrates how to use <f:convertDateTime/> to ensure the user's birth date is convertible into a date object formatted as MM/yyyy (month/year).
这个例子展示了如何用 <f:convertDateTime/>确保用户的生日可以转换为格式为MM/yyyy(月 /年)的日期对象。
One technique I remember was using the location of an object to date it, like how deep it was buried.
我记得有一种方法是利用物体的位置来确定它的年代,比如它被埋得有多深。
For example, if we only want to see the past week's bank account transitions, the child aggregate data value object would have a filter for the date.
例如,如果我们只希望了解过去一周的银行帐户交易,则子聚合数据值对象应该使用日期筛选。
The history view opens to show revisions to the business object and to enable you to group revisions by date.
历史视图打开,显示对业务对象的修改,可以按日期对修改排序。
When you create a document in P8, the document's meta-data (the properties associated with the document, such as title, creator, last modified date, etc.), are stored in the P8 object store database.
当在P 8中创建一个文档时,文档的元数据(与文档相关的一些属性,例如标题、创建者、最近修改日期等)存储在P8对象存储数据库中。
Besides, many of the Date methods have been deprecated in favor of Calendar methods, so you probably want a Calendar object anyway.
此外,为了支持Calendar方法,很多Date方法都已经取消了,所以无论如何,您都很可能需要Calendar对象。
The number of deprecated constructors in Date severely restrict the number of ways you can create such an object.
Date中不赞成使用的构造函数的数量严重限制了您创建此类对象的途径。
This submit() method receives the name and date value supplied by the user and sets it in a newly created customer object.
这个submit()方法接收用户提供的姓名和日期值,并在一个新创建的Customer 对象中设置这些值。
Without this reference assignment, there would be no way to assign a tests due date to the Machine object.
如果不分配这个引用,那么就无法将测试到期日期分配给Machine对象。
Dojo widgets take an item like a text input box and add functions for a more user-friendly object, such as a graphical calendar to choose a date.
Dojo小部件接受像文本输入框这样的条目并会添加一些函数来获得更具用户友好性的对象,比如一个便于选择日期的图形日历。
For example, the RepoItemHandle, the name of the item, the creation date of the item, and anything else set on the actual Content object is an attribute.
例如,RepoItemHandle、条目的名称、条目的创建日期和在实际Content对象上设置的任何信息都是性质。
XMLGregorianCalendar objects are mutable, and therefore you can simply set any of the date or time fields directly on the object.
XMLGregorianCalendar对象是可以修改的,因此能够直接设置对象的日期或时间字段。
For example, the Get-Date command on the surface may appear to just print out the current date and time. But in fact, it returns an object of type DateTime, which is part of the.net framework.
例如,Get - Date命令表面上来看,只是简单的打印出当前的日期和时间,但实际上它返回的是一个DataTime类型的对象,这个对象是。NET框剪的一部分。
This data object has three properties that are all PHP strings: name, dob (date of birth) and pob (place of birth).
该数据对象有三个属性,均为php字符串:name、dob(出生日期)和pob(出生地)。
An HSSFCellStyle object represents style options for a cell, like font, border, and numeric formatting (including date and time formats).
HSSFCellStyle对象表示单元格的样式选项,比如字体、边框和数值格式(包括日期和时间格式)。
You can also query the GRplistController object regarding the date and time of the last download for a given URL using the lastUpdate property and decide when to try to refresh data from the Web.
另外,还可以针对给定URL的最后一次下载的日期和时间使用lastUpdate属性来查询GRplistController对象,并决定何时从Web刷新数据。
To do this you use the getUpdated method instead of running a query, which takes the object to be searched for updates along with a start and end date.
要做到这一点,可以使用getUpdated方法,而不是运行一个查询,这个方法获得要进行更新的对象以及起始和结束时间。
If channels are not healthy, cluster object change messages cannot flow, causing the workload balancing choice to be based on out-of-date data (for example, the put attribute of a queue).
如果通道不健康,集群对象更改消息则不能流动,导致工作负载平衡方法选择基于过时数据(比如,队列的放置属性)。
Not only must you map objects into the database, you must also map the relationships that the object is involved with so they can be restored at a later date.
不仅必须将对象映射到数据库中,还必须将对象之间的关系进行映射,这样才能在以后进行恢复。
应用推荐