File tree 7 files changed +87
-1
lines changed
Lost and found application
7 files changed +87
-1
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<projectDescription >
3
- <name >Lost and found application </name >
3
+ <name >BU FINDER </name >
4
4
<comment >Project Lost and found application created by Buildship.</comment >
5
5
<projects >
6
6
</projects >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <classpath >
3
+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/" />
4
+ <classpathentry kind =" con" path =" org.eclipse.buildship.core.gradleclasspathcontainer" />
5
+ <classpathentry kind =" output" path =" bin/default" />
6
+ </classpath >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <projectDescription >
3
+ <name >app</name >
4
+ <comment >Project app created by Buildship.</comment >
5
+ <projects >
6
+ </projects >
7
+ <buildSpec >
8
+ <buildCommand >
9
+ <name >org.eclipse.jdt.core.javabuilder</name >
10
+ <arguments >
11
+ </arguments >
12
+ </buildCommand >
13
+ <buildCommand >
14
+ <name >org.eclipse.buildship.core.gradleprojectbuilder</name >
15
+ <arguments >
16
+ </arguments >
17
+ </buildCommand >
18
+ </buildSpec >
19
+ <natures >
20
+ <nature >org.eclipse.jdt.core.javanature</nature >
21
+ <nature >org.eclipse.buildship.core.gradleprojectnature</nature >
22
+ </natures >
23
+ </projectDescription >
Original file line number Diff line number Diff line change
1
+ connection.project.dir =..
2
+ eclipse.preferences.version =1
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <projectDescription >
3
+ <name >TicTacToe Android apk</name >
4
+ <comment >Project TicTacToe Android apk created by Buildship.</comment >
5
+ <projects >
6
+ </projects >
7
+ <buildSpec >
8
+ <buildCommand >
9
+ <name >org.eclipse.buildship.core.gradleprojectbuilder</name >
10
+ <arguments >
11
+ </arguments >
12
+ </buildCommand >
13
+ </buildSpec >
14
+ <natures >
15
+ <nature >org.eclipse.buildship.core.gradleprojectnature</nature >
16
+ </natures >
17
+ </projectDescription >
Original file line number Diff line number Diff line change
1
+ arguments =
2
+ auto.sync =false
3
+ build.scans.enabled =false
4
+ connection.gradle.distribution =GRADLE_DISTRIBUTION(WRAPPER)
5
+ connection.project.dir =
6
+ eclipse.preferences.version =1
7
+ gradle.user.home =
8
+ java.home =/nix/store/gpxl5qgg8kicmcvivwmybwjlpf7wh20l-graalvm17-ce-22.3.0
9
+ jvm.arguments =
10
+ offline.mode =false
11
+ override.workspace.settings =true
12
+ show.console.view =true
13
+ show.executions.view =true
Original file line number Diff line number Diff line change
1
+ import java .util .Timer ;
2
+ import java .util .TimerTask ;
3
+ import java .text .SimpleDateFormat ;
4
+ import java .util .Date ;
5
+
6
+ public class AlarmClock {
7
+
8
+ public static void main (String [] args ) {
9
+ // Set the alarm time (24-hour format)
10
+ String alarmTime = "15:30" ; // Change this to your desired alarm time
11
+
12
+ // Create a timer
13
+ Timer timer = new Timer ();
14
+
15
+ // Define a task to be executed when the alarm time is reached
16
+ TimerTask task = new TimerTask () {
17
+ public void run () {
18
+ SimpleDateFormat sdf = new SimpleDateFormat ("HH:mm" );
19
+ String currentTime = sdf .format (new Date ());
20
+ if (currentTime .equals (alarmTime )) {
21
+ System .out .println ("Alarm! It's time to wake up!" );
22
+ // You can replace the message with any action you want
23
+ }
24
+ }
25
+ };
You can’t perform that action at this time.
0 commit comments