Compare commits

...

3 Commits

Author SHA1 Message Date
Christian P. MOMON 62b95f1ccf Build 0.11.4 2021-05-08 22:44:25 +02:00
Christian P. MOMON 43a21307d3 Fixed method name. 2021-05-08 22:42:43 +02:00
Christian P. MOMON 349a378f46 Fixed age week alignment. 2021-05-08 22:42:27 +02:00
3 changed files with 13 additions and 13 deletions

View File

@ -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

View File

@ -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);
} }
{ {

View File

@ -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);