mirror of
https://github.com/robertvokac/time-calc.git
synced 2025-03-25 07:27:49 +01:00
Added new improvements
This commit is contained in:
parent
37aa23baf6
commit
01d56d794e
@ -24,7 +24,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<archive>
|
<archive>
|
||||||
<manifest>
|
<manifest>
|
||||||
<mainClass>org.nanoboot.utils.timecalc.main.Main</mainClass>
|
<mainClass>org.nanoboot.utils.timecalc.app.Main</mainClass>
|
||||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||||
</manifest>
|
</manifest>
|
||||||
<manifestEntries>
|
<manifestEntries>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package org.nanoboot.utils.timecalc.main;
|
package org.nanoboot.utils.timecalc.app;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author pc00289
|
* @author Robert
|
||||||
* @since 31.01.2024
|
* @since 31.01.2024
|
||||||
*/
|
*/
|
||||||
public class Main {
|
public class Main {
|
@ -1,4 +1,4 @@
|
|||||||
package org.nanoboot.utils.timecalc.main;
|
package org.nanoboot.utils.timecalc.app;
|
||||||
|
|
||||||
import org.nanoboot.utils.timecalc.utils.Constants;
|
import org.nanoboot.utils.timecalc.utils.Constants;
|
||||||
import org.nanoboot.utils.timecalc.utils.FileConstants;
|
import org.nanoboot.utils.timecalc.utils.FileConstants;
|
@ -1,4 +1,4 @@
|
|||||||
package org.nanoboot.utils.timecalc.main;
|
package org.nanoboot.utils.timecalc.app;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
@ -6,7 +6,7 @@ import java.io.IOException;
|
|||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author pc00289
|
* @author Robert
|
||||||
* @since 20.02.2024
|
* @since 20.02.2024
|
||||||
*/
|
*/
|
||||||
public class TimeCalcConf {
|
public class TimeCalcConf {
|
@ -1,7 +1,7 @@
|
|||||||
package org.nanoboot.utils.timecalc.main;
|
package org.nanoboot.utils.timecalc.app;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author pc00289
|
* @author Robert
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class TimeCalcException extends RuntimeException{
|
public class TimeCalcException extends RuntimeException{
|
@ -1,4 +1,4 @@
|
|||||||
package org.nanoboot.utils.timecalc.main;
|
package org.nanoboot.utils.timecalc.app;
|
||||||
|
|
||||||
import org.nanoboot.utils.timecalc.swing.common.AboutButton;
|
import org.nanoboot.utils.timecalc.swing.common.AboutButton;
|
||||||
import org.nanoboot.utils.timecalc.swing.common.ComponentRegistry;
|
import org.nanoboot.utils.timecalc.swing.common.ComponentRegistry;
|
||||||
@ -34,7 +34,7 @@ import java.util.Calendar;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author pc00289
|
* @author Robert
|
||||||
* @since 08.02.2024
|
* @since 08.02.2024
|
||||||
*/
|
*/
|
||||||
public class TimeCalcManager {
|
public class TimeCalcManager {
|
@ -0,0 +1,26 @@
|
|||||||
|
package org.nanoboot.utils.timecalc.entity;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
import lombok.ToString;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Robert
|
||||||
|
* @since 23.02.2024
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@ToString
|
||||||
|
public class Activity {
|
||||||
|
private int year;
|
||||||
|
private int month;
|
||||||
|
private int day;
|
||||||
|
private int name;
|
||||||
|
private int comment;
|
||||||
|
private int ticket;
|
||||||
|
private int spentHours;
|
||||||
|
private int spentMinutes;
|
||||||
|
private boolean jira;
|
||||||
|
private boolean bugzilla;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package org.nanoboot.utils.timecalc.entity;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
import lombok.ToString;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Robert
|
||||||
|
* @since 23.02.2024
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@ToString
|
||||||
|
public class WorkingDay {
|
||||||
|
private int year;
|
||||||
|
private int month;
|
||||||
|
private int day;
|
||||||
|
private int arrivalHour;
|
||||||
|
private int arrivalMinute;
|
||||||
|
private int departureHour;
|
||||||
|
private int departureMinute;
|
||||||
|
private String note;
|
||||||
|
private int overtimeHoursThisDay;
|
||||||
|
private int overtimeMinutesThisDay;
|
||||||
|
private int compensatoryTimeOffHoursThisDay;
|
||||||
|
private int compensatoryTimeOffMinutesThisDay;
|
||||||
|
private int overtimeHoursToBeCompensatedUntilThisDay;
|
||||||
|
private int overtimeMinutesToBeCompensatedUntilThisDay;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
package org.nanoboot.utils.timecalc.persistence.api;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Robert
|
||||||
|
* @since 23.02.2024
|
||||||
|
*/
|
||||||
|
public interface WorkingDayRepositoryApi {
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package org.nanoboot.utils.timecalc.persistence.impl.sqlite;
|
||||||
|
|
||||||
|
import org.nanoboot.utils.timecalc.persistence.api.WorkingDayRepositoryApi;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Robert
|
||||||
|
* @since 23.02.2024
|
||||||
|
*/
|
||||||
|
public class WorkingDayRepositorySQLiteImpl implements WorkingDayRepositoryApi {
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
package org.nanoboot.utils.timecalc.swing.progress;
|
package org.nanoboot.utils.timecalc.swing.progress;
|
||||||
|
|
||||||
import org.nanoboot.utils.timecalc.swing.common.Widget;
|
import org.nanoboot.utils.timecalc.swing.common.Widget;
|
||||||
import org.nanoboot.utils.timecalc.main.TimeCalcConf;
|
import org.nanoboot.utils.timecalc.app.TimeCalcConf;
|
||||||
import org.nanoboot.utils.timecalc.utils.DateFormats;
|
import org.nanoboot.utils.timecalc.utils.DateFormats;
|
||||||
import org.nanoboot.utils.timecalc.utils.TimeHM;
|
import org.nanoboot.utils.timecalc.utils.TimeHM;
|
||||||
import org.nanoboot.utils.timecalc.utils.Utils;
|
import org.nanoboot.utils.timecalc.utils.Utils;
|
||||||
|
@ -2,7 +2,7 @@ package org.nanoboot.utils.timecalc.swing.progress;
|
|||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import org.nanoboot.utils.timecalc.swing.common.Widget;
|
import org.nanoboot.utils.timecalc.swing.common.Widget;
|
||||||
import org.nanoboot.utils.timecalc.main.TimeCalcConf;
|
import org.nanoboot.utils.timecalc.app.TimeCalcConf;
|
||||||
import org.nanoboot.utils.timecalc.utils.BooleanProperty;
|
import org.nanoboot.utils.timecalc.utils.BooleanProperty;
|
||||||
import org.nanoboot.utils.timecalc.utils.NumberFormats;
|
import org.nanoboot.utils.timecalc.utils.NumberFormats;
|
||||||
import org.nanoboot.utils.timecalc.utils.Utils;
|
import org.nanoboot.utils.timecalc.utils.Utils;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package org.nanoboot.utils.timecalc.utils;
|
package org.nanoboot.utils.timecalc.utils;
|
||||||
|
|
||||||
import org.nanoboot.utils.timecalc.swing.common.Toaster;
|
import org.nanoboot.utils.timecalc.swing.common.Toaster;
|
||||||
import org.nanoboot.utils.timecalc.main.TimeCalcConf;
|
import org.nanoboot.utils.timecalc.app.TimeCalcConf;
|
||||||
|
|
||||||
import javax.swing.JFrame;
|
import javax.swing.JFrame;
|
||||||
import javax.swing.JTextPane;
|
import javax.swing.JTextPane;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package org.nanoboot.utils.timecalc.utils;
|
package org.nanoboot.utils.timecalc.utils;
|
||||||
|
|
||||||
import org.nanoboot.utils.timecalc.main.Main;
|
import org.nanoboot.utils.timecalc.app.Main;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user