Skip to content

jramiresbrito/date_class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Date Class

This is an exercise of Modular Programming Course from BS Software Engineering at Pontifical Catholic University of Minas Gerais

Requirements of the exercise

  • Without using any date and time tools from the language you choose, model and implement a class that allow the user to create and perform date operations.
  • Your class should only accept dates starting for year 1900.
  • It should be possible to add or sub days on an existing date to generate a new date.
  • It should be possible to calculate the difference, in days, between two dates.
  • It should be possible to verify, between two dates, which is the most recent.
  • The default constructor should create an instance having +1 day based on the last created instance.

The Ruby version used in this project is: 2.6.6p146

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages