A period of time is an interval, a span of time. You can also use it for questions related to the actual punctuation mark.
Questions tagged [period]
508 questions
1
vote
5 answers
OSGI bundle (or service)- how to register for a given time period?
Search did not give me a hint, how can i behave with the following situation:
I'd love to have 2 OSGI implementations of the same interface: one is regular, the other should work (be active/present/whatever) on the given time period (f.e for…

Alec
- 352
- 1
- 5
- 16
1
vote
1 answer
Tableau Excluded Data - Calculated Fields and Overlapping Time Periods
I want to plot revenue for two time periods "Last 30 Days" and "Last 60 Days" on the same diagram. The problem is that for "Last 60 Days" all the data that already is in "Last 30 Days" will not be included.
This is due to my IF clause which looks…

user7746882
- 11
- 1
1
vote
1 answer
create a calculated measure in MDX that Filters by Date Range
I am trying to create a calculated member to calculate the nb of employees YTD. By YTD I mean the number of employees for any given period of time.My fact table has 2 date dimensions StartDate and EndDate. I would like to calculate YTD employees…

Naoufal Touailat
- 33
- 1
- 4
1
vote
1 answer
Linux recursively replace periods for all directorys and all but last period for files with underscores
I have the following command which recursively renames all the files/directory's to lowercase and replaces spaces with _.
find . -iname "*" | rename 'y/A-Z/a-z/; s/ /_/g;'
How do I extend it to remove all periods from directories and leave just…

Steve Fitzsimons
- 3,754
- 7
- 27
- 66
1
vote
1 answer
Bug in jodatime Period?
How come this test I wrote fails in jodatime 1.6.2? Is it a bug?
@Test
public void testIfJodaTimePeriodsHandlesPeriodTypesOtherThanMinutesAndHours() {
long twentyDaysInMillis = TimeUnit.MILLISECONDS.convert(20, TimeUnit.DAYS);
Period twoWeeks =…

eirirlar
- 814
- 6
- 24
1
vote
5 answers
Dealing with periods and dates without using cursors
I would like to solve this issue avoiding to use cursors (FETCH).
Here comes the problem...
1st Table/quantity
------------------
periodid periodstart periodend quantity
1 2010/10/01 2010/10/15 5
2st Table/sold…

John
- 11
- 2
1
vote
1 answer
Pandas DatetimeIndex strange behaviour
I handle a DataFrame, which index is string, year-month, for example:
index = ['2007-01', '2007-03', ...]
however, the index is not full. e.g. 2007-02 is missing.
What I want is to reindex the DataFrame with full index.
What I have tried:
In [60]:…

PhilChang
- 2,591
- 1
- 16
- 18
1
vote
1 answer
Python Serial communition with device
enter image description here
I am making serial port communication device from a genious guy's work instructables.com.
It will measure the distance of the hamster's running in a day or month.
Using 4, 6 pin of the serial port cable, if the hamster…

Clara Kim
- 13
- 4
1
vote
1 answer
R Anomaly Detection Vector (How to determine param "period")
I am learning R and got some sort of stuck at the below issue:
In the anomaly detection function for vector (AnomalyDetectionVec()),
the element period is defined as below:
"period Defines the number of observations in a single period, and used…

9rawin
- 11
- 1
1
vote
1 answer
Waiting Period Before iPhone APNs Starts Pushing?
I am running Push Notification on two test apps. The first test app I got working over a 2 day period. The 2nd test app I tried to implement Push Notification tonight and have been banging my head over it. I am able to swap the certificates and the…

Chris
- 5,485
- 15
- 68
- 130
1
vote
2 answers
PHP finding time not spent in certain time period between dates
I want to calculate time not spent between certain hours in time periods.
You can think it like a work overtime calculator.
Inputs are:
//This two is work start and end time.
$starttime="22:00";
$endtime="02:00";
//This two is person's entrance and…

W. Mole
- 21
- 3
1
vote
1 answer
Measuring periodicity strength of a specific time on the time series data
I try to measure periodicity strength of a specific time on the time series data when a period (e.g., 1day, 7day) is given.
For example,
| AM 10:00 | 10:30 | 11:00 |
DAY 1 | A | A | B |
DAY 2 | A | B | B |
DAY 3 |…

realhoon
- 171
- 1
- 7
1
vote
1 answer
period of sawtooth from measurements
I have a series of 2D measurements (time on x-axis) that plot to a non-smooth (but pretty good) sawtooth wave. In an ideal world the data points would form a perfect sawtooth wave (with partial amplitude data points at either end). Is there a way of…

user46655
- 11
- 7
1
vote
1 answer
Given period at least covers one night on the weekend
I need to check the given period will at least be covers the one night of the weekend(saturday night or sunday night) (refer the wiki article about the rule).
I found this question that, how to check the date whether it is fall on weekend or…

Janith Chinthana
- 3,792
- 2
- 27
- 54
1
vote
1 answer
How to measure the period between the peaks or lows of waves?
I want to measure the period between the peaks/lows of the adjacent waves shown in the figure.
This is an oscillatory behavior of calcium concentration in a cell. The peaks are not the same, hence I would need to calculate the peak/lows for each…

nashynash
- 375
- 2
- 19