![]() Her runaway hit has been the inspiration for several cases written by Professor Elie Ofek. Let's say you have code that measures how long a method invocation takes - useful for monitoring purposes. HBS Case HBS Cases: Clocky, the Runaway Alarm Clock by Carmen Nobel There had not been an innovative breakthrough in alarm clock design since the snooze button until entrepreneur Gauri Nanda created Clocky. When it comes to testing, often it doesn't matter what the exact time is during a test.īut there are cases when it matters a lot. This clock returns instants from the specified clock truncated to the nearest occurrence of the specified duration. TickClock, returned by Clock.tick(), Clock.tickMinutes() and Clock.tickSeconds().This clock adds an offset to an underlying clock - which is why you need a second clock to act as the "base" time. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |