... | @@ -237,13 +237,13 @@ Get the real range period while considering the threshold. |
... | @@ -237,13 +237,13 @@ Get the real range period while considering the threshold. |
|
((period.min - threshold)..(period.max + threshold))
|
|
((period.min - threshold)..(period.max + threshold))
|
|
```
|
|
```
|
|
|
|
|
|
#### `:real_start` as `.period_real_start`
|
|
#### `:real_start` as `.period_real_start` **(ONLY WITH THRESHOLD)**
|
|
Get the beginning of the period while considering the threshold.
|
|
Get the beginning of the period while considering the threshold.
|
|
```ruby
|
|
```ruby
|
|
period.min - threshold
|
|
period.min - threshold
|
|
```
|
|
```
|
|
|
|
|
|
#### `:real_finish` as `.period_real_finish`
|
|
#### `:real_finish` as `.period_real_finish` **(ONLY WITH THRESHOLD)**
|
|
Get the ending of the period while considering the threshold.
|
|
Get the ending of the period while considering the threshold.
|
|
```ruby
|
|
```ruby
|
|
period.max + threshold
|
|
period.max + threshold
|
... | | ... | |