Compare commits
3 Commits
c4d466bf54
...
62b95f1ccf
Author | SHA1 | Date |
---|---|---|
Christian P. MOMON | 62b95f1ccf | |
Christian P. MOMON | 43a21307d3 | |
Christian P. MOMON | 349a378f46 |
|
@ -1,3 +1,3 @@
|
||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Wed May 05 04:25:38 CEST 2021
|
#Sat May 08 22:44:18 CEST 2021
|
||||||
build.number=4
|
build.number=5
|
||||||
|
|
|
@ -246,7 +246,7 @@ public class AgirStatool
|
||||||
* @throws AgirStatoolException
|
* @throws AgirStatoolException
|
||||||
* the agir statool exception
|
* the agir statool exception
|
||||||
*/
|
*/
|
||||||
public Issues fetchIssue(final Project project) throws AgirStatoolException
|
public Issues fetchIssues(final Project project) throws AgirStatoolException
|
||||||
{
|
{
|
||||||
Issues result;
|
Issues result;
|
||||||
|
|
||||||
|
@ -896,7 +896,7 @@ public class AgirStatool
|
||||||
// Fill created and concluded issues history.
|
// Fill created and concluded issues history.
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
Issues issues = fetchIssue(result);
|
Issues issues = fetchIssues(result);
|
||||||
result.issues().addAll(issues);
|
result.issues().addAll(issues);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -916,7 +916,7 @@ public class AgirStatool
|
||||||
if (project.hasIssue())
|
if (project.hasIssue())
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
Issues issues = fetchIssue(project);
|
Issues issues = fetchIssues(project);
|
||||||
project.issues().addAll(issues);
|
project.issues().addAll(issues);
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
@ -145,8 +145,8 @@ public class AgirStatoolUtils
|
||||||
|
|
||||||
if (start != null)
|
if (start != null)
|
||||||
{
|
{
|
||||||
LocalDate date = AgirStatoolUtils.normaliseWeekDate(start);
|
LocalDate date = normaliseWeekDate(start).plusDays(6);
|
||||||
LocalDate normalizedEnd = AgirStatoolUtils.normaliseWeekDate(end);
|
LocalDate normalizedEnd = normaliseWeekDate(end).plusDays(6);
|
||||||
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
|
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
|
||||||
{
|
{
|
||||||
Stat stat = project.issues().extractActivedAt(date).computeStat(date);
|
Stat stat = project.issues().extractActivedAt(date).computeStat(date);
|
||||||
|
@ -181,8 +181,8 @@ public class AgirStatoolUtils
|
||||||
|
|
||||||
if (start != null)
|
if (start != null)
|
||||||
{
|
{
|
||||||
LocalDate date = AgirStatoolUtils.normaliseWeekDate(start);
|
LocalDate date = normaliseWeekDate(start).plusDays(6);
|
||||||
LocalDate normalizedEnd = AgirStatoolUtils.normaliseWeekDate(end);
|
LocalDate normalizedEnd = normaliseWeekDate(end).plusDays(6);
|
||||||
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
|
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
|
||||||
{
|
{
|
||||||
Stat stat = project.issues().extractActivedAt(date).computeStat(date);
|
Stat stat = project.issues().extractActivedAt(date).computeStat(date);
|
||||||
|
@ -217,8 +217,8 @@ public class AgirStatoolUtils
|
||||||
|
|
||||||
if (start != null)
|
if (start != null)
|
||||||
{
|
{
|
||||||
LocalDate date = AgirStatoolUtils.normaliseWeekDate(start);
|
LocalDate date = normaliseWeekDate(start).plusDays(6);
|
||||||
LocalDate normalizedEnd = AgirStatoolUtils.normaliseWeekDate(end);
|
LocalDate normalizedEnd = normaliseWeekDate(end).plusDays(6);
|
||||||
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
|
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
|
||||||
{
|
{
|
||||||
double stat = project.issues().extractActivedAt(date).computeMedian(date);
|
double stat = project.issues().extractActivedAt(date).computeMedian(date);
|
||||||
|
@ -253,8 +253,8 @@ public class AgirStatoolUtils
|
||||||
|
|
||||||
if (start != null)
|
if (start != null)
|
||||||
{
|
{
|
||||||
LocalDate date = AgirStatoolUtils.normaliseWeekDate(start);
|
LocalDate date = normaliseWeekDate(start).plusDays(6);
|
||||||
LocalDate normalizedEnd = AgirStatoolUtils.normaliseWeekDate(end);
|
LocalDate normalizedEnd = normaliseWeekDate(end).plusDays(6);
|
||||||
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
|
while (date.isBefore(normalizedEnd) || date.isEqual(normalizedEnd))
|
||||||
{
|
{
|
||||||
Stat stat = project.issues().extractActivedAt(date).computeStat(date);
|
Stat stat = project.issues().extractActivedAt(date).computeStat(date);
|
||||||
|
|
Loading…
Reference in New Issue