days_extrema.rb

Path: lib/facets/core/time/self/days_extrema.rb
Last Update: Sat Dec 15 01:55:12 +0000 2007

This method calculates the days extrema given two time objects. start time is the given time1 at 00:00:00 end time is the given time2 at 23:59:59:999

Input:

  • the two times (if only time1 is provided then you get an extrema of exactly one day extrema.

Output:

  • the time range. you can get the start/end times using range methods.

[Validate]