Skip to content

πŸ‘¦πŸ» Software for the calculation of a person's age πŸ“…

License

Notifications You must be signed in to change notification settings

BrianSuarezSantiago/Age-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Java

πŸ‘¦πŸ» Age Calculator πŸ—“οΈ

Age Calculator Execution Β· Execution of Age Calculator Β·

πŸ“š Fundamentals

The software available in this repository allows the calculation of a person's age by taking into account the difference in milliseconds between the current date and the person's date of birth.

πŸ‘¨πŸ»β€πŸ’» Implementation

The development of this practice consists of the creation of a Person class where a certain person is represented and whose purpose is the calculation of his/her age. The software consists of three versions where use is made of different Java libraries for the implementation of this purpose.

1️⃣ First version:

The first version of this software makes use of the Date library of Java which is actually deprecated.

Kata 1. Version 1 Class Diagram

2️⃣ Second Version:

The second version of this software makes use of the Calendar and GregorianCalendar libraries.

Kata 1. Version 2 Class Diagram

3️⃣ Third Version:

The third version of this software makes use of the Java 8 LocalDate library.

Kata 1. Version 3 Class Diagram

πŸš€ Build the project

  1. Clone the repository using git with git clone https://github.com/BrianSuarezSantiago/Age-Calculator.git command or download from Source Code.

  2. Move to the directory where you have the code.

  3. Compile using javac -d . *.java command followed by the java agecalculator.Main command to run and use the available software.


Made with β™₯️ in Spain

About

πŸ‘¦πŸ» Software for the calculation of a person's age πŸ“…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages