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
0 answers
Free bookings within some time window
In my db bookings are periods with SSTART and SEND fields as period start and end dates. How to find free periods from booking table but free periods within some time window - free booking periods from e.g. '2012-07-01' til '2012-07-31'. On site…

sbrbot
- 6,169
- 6
- 43
- 74
1
vote
2 answers
Infinite calling some function after certain time
I've tried time&timertask, handler&runnables, nothing makes my function be called after certain time. Please, help me get rid of this.
when = System.currentTimeMillis();
t1 = new Timer();
tt = new TimerTask(){@Override public void run(){…

azizbekian
- 60,783
- 13
- 169
- 249
1
vote
1 answer
Hard time while creating my own Period class
I'm having some hard time building my own period class, i know that there are some already made classes out there but due to internal restrictions i will have to implement my own.
The constructor (code below) basically accepts 2 dates, a start and…

JBoy
- 5,398
- 13
- 61
- 101
0
votes
3 answers
Java: Null Pointer Exception using replaceAll
Apologies for bothering you all with this relatively simple question, but I keep on running into a null pointer exception when calling replaceAll("\.","") and I was wondering why...Undoubtedly it's something simple that I'm just not getting.
Brief…

user1309459
- 1
- 1
- 1
0
votes
1 answer
Cannot resolve environment variables in Powershell with periods "." in them
I am trying to access environment variables using Powershell. The environment variables, which is out of my control, contain periods in this format:
ENVIRONMENT_VARIABLE.1
Therefor, upon assigning the value of the environment variable to a local…

user1068261
- 31
- 4
0
votes
1 answer
Android: how to change images in a imageview, with varying intervals?
I am making an application for android which should show pictures (i was already obtained), only now the app ah changed course and the images should be displayed at varying intervals, for example, the first image is displayed when starting the…

JLouis
- 284
- 1
- 5
- 18
0
votes
2 answers
mysql difference in month as column in where clause
need your help. I tried myself but cant solve it.
I have a table with date column (ex. birth) So i need to select all rows where birth is in past more than one months.
I googled and found a SO question similar
The difference in months between…

RusAlex
- 8,245
- 6
- 36
- 44
0
votes
2 answers
Compare a date in a given period
I want to compare a date in a given period.
I use the methods before and after.
here is my method.
public boolean compareDatePeriod() throws ParseException
{
[.....]
if (period.getDateStart().after(dateLine)){
if…

Mercer
- 9,736
- 30
- 105
- 170
0
votes
1 answer
CakePHP Filter Component - correct usage to filter a period of time
I am quite new to CakePHp and the MVC way of thinking.
Up to know I was able to create a Resultsetfiltering by the use of the Filter Component by Nik Chankov successfully.
The way I am using it, is to call it in my Controller, saving the condition…
0
votes
0 answers
CPU utilization by module for a given period
My Requirement - Find the CPU utilization by a module for a given period. I am using following 2 queries, which are calculating the CPU utilization for a module say XModule less than 1% for last 24 hours (to_date(sysdate-1) )
SELECT OT.*…
0
votes
0 answers
Period finding in Shor's Algorithm
I'm currently working through the book "Quantum Machine Learning with Python Using Cirq from Google Research and IBM Qiskit" and im at shor's algorithm, more precise at the period finding. So in the picture there is an example of how the…

Felix Wernlein
- 19
- 2
0
votes
0 answers
Create a daily freq Period / PeriodIndex object in a pandas dataframe for a "broken" year
So, i've got this dataframe:
test_df = pd.DataFrame(data={'Season':['1996-97', '1997-98', '1998-99',
'1999-00', '2000-01', '2001-02',
'2002-03','2003-04','2004-05',
'2005-06','2006-07','2007-08',
'2008-09', '2009-10', '2010-11',…

felipedmc
- 19
- 5
0
votes
0 answers
Creating Pandas Period for the current quarter hour
It is straightforward to create a Period object for the current basic unit of time, such as second, minute, hour, day, week, month, quarter, or year:
>>> pd.Period.now("T")
Period('2023-06-29 12:34', 'T')
>>> pd.Period.now("D")
Period('2023-06-29',…

eumiro
- 207,213
- 34
- 299
- 261
0
votes
0 answers
woocommerce subscritpions : enable early renewal
I'm looking for a way to enable early renewal option for subscriptions that are in free trial period using the WooCommerce Subscriptions extension.
By default, it's not possible. (and I don't understand why...)
Thanks for your help,
Regards,
Johann

Johann
- 1
- 1
0
votes
0 answers
I have a lot of time series, how do I use Matlab's power spectrum to find the significant (p<0.05) periods of each series
It seems that "periodogram" function can not give dominant period value directly. Can some functions give dominant period value directly?
I want to find the significant (p<0.05) cycle of the sea surface temperature of each grid. I can use the power…

Hao Wu
- 1
- 1