The following code will stub the system class Date to always return the same date, say Ground Hog Day, as in Listing 6.
下面的代码对系统类Date 进行stub 以便总是返回相同的日期,比如GroundHog Day,如清单 6 所示。
I once took a girl out on a first date not realizing it happened to be Valentine's Day.
有一次我和一个女孩第一次约会,竟不知道那天是情人节。
The Things You Do When You're DatingI once took a girl out on a first date not realizing it happened to be Valentine's Day.
有一次我和一个女孩第一次约会,竟不知道那天是情人节。
Make Breakfast or Go on a Breakfast Date: Breakfast is the most important meal of the day – and its also the most likely to be skipped or rushed!
为她做早餐或相约一起出去吃:早餐时一天中最重要的一顿——也是最容易被跳过不吃或者胡乱应付的一顿。
In the case of the Date Time Google gadget, you are interested in letting users customize the background color and the first day of the week.
在DateTimeGoogle小部件中,您希望允许用户定制背景颜色和每周的第一天。
One minor difference for the Day At A Glance icon is that the number within the icon does not reflect the current date as it does on the mobile device.
与移动设备不同的是,桌面版本上的DayAtAGlance图标内的数字并不反映当前日期。
Humphreys believes a date could therefore be ascribed to Easter in our modern solar calendar, and working on the basis that the crucifixion took place on April 3, Easter Day would be on April 5.
汉弗莱斯相信,可以将复活节的日期确定为我们现在所使用的阳历中的某一天,而且,大概可以这么定:4月3日为受难日,4月5日为复活节。
These are the things that make for a perfect Valentine's Day date!
这些东西能让你情人节的约会变得完美!
Let us make World Water Day more than a date in the calendar.
让我们使世界水日不仅仅是日历上的一个特定日子。
Finally, just as time of day can have local relevance, the date can have cultural relevance.
最后,正如每天的时间可能有本地相关性,日期也有文化相关性。
Are any computations in your application based on the date or even time of day?
您应用程序的任何计算是基于日期或者甚至是每天的时间吗?
It will be displayed on the top navigation bar and points to the day view of the current date.
它将显示在顶部导航栏上,指向当前日期的天视图。
We want our date to be represented in the format: day, separator, month, separator, year.
我们想要使用以下格式表示日期:日、分隔符、月、分隔符、年。
Many financial and other sequencing events require you to store both the date and time of day; such as recording when a purchase was completed.
许多金融事件和其他有先后顺序的事件既需要存储日期,又需要存储每天的时间;比如记录购买完成的时间。
This takes the most common standard date formats: ISO dates (including year), just a time of day, or an offset in minutes.
这里采用了最常用的标准日期格式:ISO日期(包括年),仅仅是一天的某个时间或以分钟计算的时间偏移。
New Zealand is just west of the International Date Line, so it is the first country to get the new day.
新西兰位于国际日期变更线以西,所以它是世界上第一个迎接新一天到来的国家。
I don't know what's with her today; she's been smiling all day. Must have been a good date!
我不知道今天她发生了什么事情,她一天都在笑,肯定过了一个很愉快的约会。
McGaugh invited her to his lab, and began to test her: he would give her a date and ask her to tell him about the world events on that day.
麦克高邀请她到实验室,开始对她进行测试:他会给出一个日期,让她告诉他当天发生的世界大事。
You can also specify the start and ending period by either date or time of day.
还可以通过某天的日期或时间指定开始到结束的一段时间。
As last year, the day will be celebrated on 14 June, the birth date of Karl Landsteiner, who discovered the ABO blood group system.
如同去年一样,这一天将于发现ABO血型系统的KarlLandsteiner的出生日期6月14日进行庆祝。
When only specifying a to date, the time range will begin on the first day with instance data and continue to the date specified.
如果只指定To日期,时间范围从实例数据的第一天开始,一直延续到指定的日期。
Indeed, the day of the week for a given date progresses by one annually, except on leap years, where it progresses by two.
确实,对于一个给定的日期,每年属于哪个星期几总是后移一天,闰年除外,后移两天。
Sometimes you may forget what the date is on a certain day.
有时候,在一些特定的日子里,你可能会忘记那天是几月几号?
A nonexistent date certainly does not have a day of the week.
一个不存在的日期自然也就没有星期几。
The prime minister also announced a day of national commemoration, on a date still to be determined, and financial compensation for victims' families, to cover funeral expenses.
斯托尔滕贝格还宣布将设立全国纪念日,日期尚未确定,并向遇难者家属提供财务赔偿以支付丧葬费。
So ask a reindeer what time of year it is, and it may be able to give you the date. Just don't be offended if it won't give you the time of day.
所以,要问驯鹿这是一年中的什么时段,它可能会给你个准确的日期,可如果它答不上来现在几点的话你就别生气了。
The date format is Year, Month, Day, Hour, Minutes, and seconds — although the use of the seconds field is perhaps a bit much.
日期格式是年、月、日、小时、分钟和秒——但是秒字段的使用可能有点多余。
That includes many individuals with esoteric skills that are of little use in everyday life - like being able to instantly reckon the day of the week for any past or future date.
这包括许多不同的个体拥有在日常生活中很少用得上的深奥技能——比如能够立即算出任何一个过去或将来的日期是星期几。
That includes many individuals with esoteric skills that are of little use in everyday life - like being able to instantly reckon the day of the week for any past or future date.
这包括许多不同的个体拥有在日常生活中很少用得上的深奥技能——比如能够立即算出任何一个过去或将来的日期是星期几。
应用推荐