Questions tagged [period]

A period of time is an interval, a span of time. You can also use it for questions related to the actual punctuation mark.

508 questions
0
votes
1 answer

Convert jodatime period to days

Actually I'm trying to use the joda time library to manipulate dates. It seems preety good, but I've found a non-plus-ultra wall. I have a jodatime period that I want to converto to days. So, if my period has 1 year, 1 month, 1 week and 1 day, total…
aprados
  • 374
  • 4
  • 16
0
votes
0 answers

Power calculation for non equi-sampled discrete signals

Consider a discrete signal S sampled at point x={2,5,9,11}, whose respective values are S(x)={300,312,340,400}. How would you calculate its power? If it was an equi-sampled signal, with sampling period T=1, I would just calculate sum(S^2(i))/N …
vitil
  • 256
  • 1
  • 3
  • 13
0
votes
1 answer

Select SQL Table Columns with given range

I do have this table in my SQL database Acc ID Perod1 Perod2 Perod3 Perod4 Perod5 --------------------------------------------------- 1-001 30 40 70 80 70 2-002 50 60 80 60 70 3-004…
Sudu
  • 51
  • 1
  • 2
  • 9
0
votes
2 answers

How to concat multiple time period values in one Excel cell?

I'm looking for a way to concatenate two time period values in one Excel 2010 cell. This is a Excel sheet for my office, in which my working hours should be listed. Beside other values, which are not relevant for this, there are four columns: Column…
0
votes
2 answers

Match full sentences skipping spurious dots

I need to match complete sentences ending at the full stop, but I'm stuck on trying to skip false dots. To keep it simple, I've started with this syntax [^.]+[^ ] which works fine with normal sentences, but, as you can see, it breaks at every…
Neuran
  • 137
  • 10
0
votes
1 answer

find transactions within 30 days

I have a list of transactions with columns below. There are over thousand of rows of transactions. I need to find transaction with at least 12 or more of the same AccountName that has aggregate amount of more than $10,000 within a 30 day period.…
Air
  • 1
0
votes
1 answer

A period "." in the tag of homepage Magento

There's a "." in the code of the body tag on one of the storeviews. Any knowledge on getting rid of it would be appreciated.
ALXvirtual
  • 61
  • 6
0
votes
0 answers

Answer: (SQL) (TSQL) Determine Periods from Date Range

Using the @ReportingEndingDate, go back in time (@NumberOfPeriods) 1) Will take a starting and ending date range 2) Will do different'periods': Quarter, Month, or Year 3) Will do 'x' number of periods 4) Can start from the beginning date and go…
PCPGMR
  • 340
  • 2
  • 7
0
votes
2 answers

Sum days by period with sql- Oracle

I have a table to register which departments a person has worked and the date when it begin and ended. If I define a period, how can I get for each person the number of days that he/she worked? For example. When the period is between 01/05/2014 and…
gbvisconti
  • 412
  • 1
  • 4
  • 19
0
votes
1 answer

How can I optimize this code? (JodaTime required)

I'm building a Java method to sum arithmetically two time periods, using JodaTime library. My code works fine, but I think that it's possible optimize to reduce the time execution... Unfortunately, I'm new on JodaTime. This is my code: import…
user3449772
  • 749
  • 1
  • 14
  • 27
0
votes
1 answer

Financial time series: python Matplotlib "specgram" y-axis displaying Period instead of Frequency

python Matplotlib's "specgram" display of a heatmap showing frequency (y-axis) vs. time (x-axis) is useful for time series analysis, but I would like to have the y-axis displayed in terms of Period (= 1/frequency), rather than frequency. I am still…
0
votes
1 answer

Get multiple PHP date periods from a range of dates

I have an array of dates like this: [Room 01 - DBL] => Array ( [0] => Mon 23-06-2014 [1] => Tue 24-06-2014 [2] => Wed 25-06-2014 [3] => Sat 28-06-2014 [4] =>…
Ralphonz
  • 633
  • 1
  • 9
  • 22
0
votes
1 answer

Linear Regression Function for Sin Graph

I am currently working on a project where I must analyze data and find a period for the graph. The data contains outliers. I need a function that will make a line of best fit for the function. I attempted to simply get a sin graph on the plot, but I…
user2251518
  • 33
  • 2
  • 5
0
votes
1 answer

SQL Server Get Operational days from Period

I have the table Seasons: YEAR DATE_FROM DATE_TO 2013 2013-04-21 2013-11-14 2014 2014-04-03 2014-12-03 I need a query that gets as parameters the @year,@month,@type and it returns for @type= 1)the days that are contained within…
PanosPlat
  • 940
  • 1
  • 11
  • 29
0
votes
2 answers

finding end date from start date with removing a delay

I have a methode like this public static DateTime Final_Date_Provider(DateTime start, TimeSpan offset) { //code } this method is supposed to caclcule EndDate = start + offset the problem is : i want it to do that from 8 am to 5 pm with…