-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release for Build season 2020
- Loading branch information
Showing
62 changed files
with
3,451 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
out/ | ||
.gradle/ | ||
.idea/ | ||
build/ | ||
run/ | ||
.idea/libraries/ | ||
.idea/modules/ | ||
.idea/.name | ||
.idea/*.xml |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,43 @@ | ||
group 'com.westisliprobotics' | ||
version '1.0-SNAPSHOT' | ||
allprojects { | ||
group 'com.westisliprobotics' | ||
|
||
apply plugin: 'java' | ||
repositories { | ||
mavenCentral() | ||
maven { | ||
url "$rootDir/libs" | ||
} | ||
} | ||
|
||
sourceCompatibility = 1.8 | ||
|
||
repositories { | ||
mavenCentral() | ||
apply plugin: 'idea' | ||
apply plugin: 'java' | ||
} | ||
|
||
dependencies { | ||
compile 'org.apache.poi:poi:4.0.0', | ||
compile 'com.intellij:annotations:12.0', | ||
'org.apache.poi:poi:4.0.0', | ||
'org.apache.poi:poi-ooxml:4.0.0', | ||
'info.picocli:picocli:3.7.0', | ||
'org.slf4j:slf4j-api:1.7.25', | ||
'ch.qos.logback:logback-classic:1.2.3', | ||
'org.apache.commons:commons-math3:3.6.1', | ||
'org.json:json:20180813', | ||
'com.google.zxing:core:3.3.3', | ||
'com.google.zxing:javase:3.3.3' | ||
testCompile group: 'junit', name: 'junit', version: '4.12' | ||
'com.google.zxing:javase:3.3.3', | ||
'org.javapos:javapos:1.14.0', | ||
'net.sourceforge.barbecue:barbecue:1.5-beta1', | ||
'xerces:xercesImpl:2.8.0', | ||
'org.apache.commons:commons-math3:3.6.1', | ||
'jpos:jposService:1.0', | ||
'jpos:jposServiceIni:1.0', | ||
'jpos:jposServiceScale:1.0', | ||
'jpos:jposServiceScanner:1.0' | ||
} | ||
|
||
jar { | ||
from(configurations.compile.collect{it.isDirectory() ? it : zipTree(it)}){ | ||
exclude "META-INF/*.SF" | ||
exclude "META-INF/*.DSA" | ||
exclude "META-INF/*.RSA" | ||
} | ||
|
||
manifest { | ||
attributes('Main-Class': 'com.team871.ui.AttendanceManager') | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Thu Oct 25 23:43:10 EDT 2018 | ||
#Mon Oct 14 22:30:05 EDT 2019 | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
rootProject.name = 'excelparser' | ||
|
||
rootProject.name = 'AttendenceManager' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package com.team871.data; | ||
|
||
import java.time.LocalDate; | ||
import java.time.LocalDateTime; | ||
import java.time.LocalTime; | ||
|
||
public class AttendanceItem { | ||
private LocalDateTime inTime = null; | ||
private LocalDateTime outTime = null; | ||
|
||
public AttendanceItem() { | ||
inTime = LocalDateTime.now(); | ||
} | ||
|
||
public AttendanceItem(LocalDate date) { | ||
inTime = date.atTime(LocalTime.now()); | ||
} | ||
|
||
public AttendanceItem(LocalDate date, LocalTime intime, LocalTime outTime) { | ||
this.inTime = intime.atDate(date); | ||
this.outTime = outTime.atDate(date); | ||
} | ||
|
||
public LocalDateTime getInTime() { | ||
return inTime; | ||
} | ||
|
||
public LocalDateTime getOutTime() { | ||
return outTime; | ||
} | ||
|
||
public void signOut() { | ||
outTime = LocalDateTime.now(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.team871.data; | ||
|
||
public enum FirstRegistration { | ||
None("Not Signed"), | ||
MissingWaiver("Missing Waiver"), | ||
Complete("Done"); | ||
|
||
final String key; | ||
|
||
FirstRegistration(String key) { | ||
this.key = key; | ||
} | ||
|
||
public String getKey() { | ||
return key; | ||
} | ||
|
||
public static FirstRegistration getByKey(String key) { | ||
for(FirstRegistration r : values()) { | ||
if(r.key.equals(key)) { | ||
return r; | ||
} | ||
} | ||
|
||
throw new IllegalArgumentException("No such key " + key); | ||
} | ||
} |
Oops, something went wrong.