Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad00fba

Browse files
Tariq HookTariq Hook
Tariq Hook
authored and
Tariq Hook
committed
First Checkin
0 parents  commit ad00fba

File tree

5 files changed

+185
-0
lines changed

5 files changed

+185
-0
lines changed

.gitignore

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
.metadata
2+
bin/
3+
tmp/
4+
*.tmp
5+
*.bak
6+
*.swp
7+
*~.nib
8+
local.properties
9+
.settings/
10+
.loadpath
11+
.recommenders
12+
13+
# External tool builders
14+
.externalToolBuilders/
15+
16+
# Locally stored "Eclipse launch configurations"
17+
*.launch
18+
19+
# PyDev specific (Python IDE for Eclipse)
20+
*.pydevproject
21+
22+
# CDT-specific (C/C++ Development Tooling)
23+
.cproject
24+
25+
# Java annotation processor (APT)
26+
.factorypath
27+
28+
# PDT-specific (PHP Development Tools)
29+
.buildpath
30+
31+
# sbteclipse plugin
32+
.target
33+
34+
# Tern plugin
35+
.tern-project
36+
37+
# TeXlipse plugin
38+
.texlipse
39+
40+
# STS (Spring Tool Suite)
41+
.springBeans
42+
43+
# Code Recommenders
44+
.recommenders/
45+
46+
# Scala IDE specific (Scala & Java development for Eclipse)
47+
.cache-main
48+
.scala_dependencies
49+
.worksheet
50+
51+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
52+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
53+
54+
# User-specific stuff:
55+
.idea/**
56+
.idea/**/tasks.xml
57+
.idea/dictionaries
58+
59+
# Sensitive or high-churn files:
60+
.idea/**/dataSources/
61+
.idea/**/dataSources.ids
62+
.idea/**/dataSources.xml
63+
.idea/**/dataSources.local.xml
64+
.idea/**/sqlDataSources.xml
65+
.idea/**/dynamic.xml
66+
.idea/**/uiDesigner.xml
67+
68+
# Gradle:
69+
.idea/**/gradle.xml
70+
.idea/**/libraries
71+
.idea/*
72+
*.iml
73+
74+
# CMake
75+
cmake-build-debug/
76+
77+
# Mongo Explorer plugin:
78+
.idea/**/mongoSettings.xml
79+
80+
## File-based project format:
81+
*.iws
82+
83+
## Plugin-specific files:
84+
85+
# IntelliJ
86+
/out/
87+
88+
# mpeltonen/sbt-idea plugin
89+
.idea_modules/
90+
91+
# JIRA plugin
92+
atlassian-ide-plugin.xml
93+
94+
# Cursive Clojure plugin
95+
.idea/replstate.xml
96+
97+
# Crashlytics plugin (for Android Studio and IntelliJ)
98+
com_crashlytics_export_strings.xml
99+
crashlytics.properties
100+
crashlytics-build.properties
101+
fabric.properties
102+
target/*
103+
104+
.project
105+
.classpath
106+
.settings

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Problem 6 Boot Camp Time
2+
3+
Given a time given as a String in numerical format, convert that value into its military time phrase.
4+
5+
**Complete in Java**
6+
7+
**Provide Unit Testing**
8+
9+
Example 1 Input
10+
```
11+
1:30 pm
12+
```
13+
14+
Example 1 Output
15+
```
16+
Thirteen Hundred and Thirty Hours
17+
```
18+
19+
20+
Example 2 Input
21+
```
22+
1:30 am
23+
```
24+
25+
Example 2 Output
26+
27+
```
28+
Zero One Hundred and Thirty Hours
29+
```
30+
31+
Example 3 Input
32+
```
33+
2:22 pm
34+
```
35+
Example 3 Output
36+
37+
```
38+
Fourteen Hundred and Twenty Two Hours
39+
```
40+
41+
Example 4 Input
42+
```
43+
2:11 am
44+
```
45+
46+
Example 4 Output
47+
```
48+
Zero Two Hundred and Eleven Hours
49+
```
50+

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>io.zipcoder</groupId>
8+
<artifactId>InterviewProblem5</artifactId>
9+
<version>1.0-SNAPSHOT</version>
10+
11+
<dependencies>
12+
<!-- https://mvnrepository.com/artifact/junit/junit -->
13+
<dependency>
14+
<groupId>junit</groupId>
15+
<artifactId>junit</artifactId>
16+
<version>4.12</version>
17+
<scope>test</scope>
18+
</dependency>
19+
20+
</dependencies>
21+
</project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package io.zipcoder;
2+
3+
public class Problem6 {
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package io.zipcoder;
2+
3+
public class Problem6Test {
4+
}

0 commit comments

Comments
 (0)