Code Monkey home page Code Monkey logo

calendar-java-objects's People

Contributors

ihoffman5214 avatar marcodlk avatar tylernakamura avatar

Watchers

 avatar  avatar  avatar  avatar

calendar-java-objects's Issues

Method Comments

Many of the methods are lacking explanations as to what they do. This is really not needed, but they could probably use some documentation.

5 Minute Video Demo

For a class assignment:

5 Minute Video Demonstration of the project showing the following features:
- Version(section 3.7.4 of RFC 5545)
- Classification(3.8.1.3)
- Comment (3.8.1.4) Your system will compute the great circle distance between events and store it in the comment fields
- DTSTART (3.8.2.4)
- DTEND (3.8.2.2)
- Time Zone Identifier (3.8.3.1)

Document: "Why the system is correct"

The document should be in a pdf that can be committed to the repository. The document needs to explain why the system is correct. The document also needs to explain how the system is tested and what the respective results were.

Validation Methods

The validation methods in the Vevent.java file are currently stubs. All they do is make sure that the information added is correct. Some of the don't need a whole lot, I suppose we can just check length or anything for the strings.

New Interface Option - PrintGreatCircleDistance

When typing in:

commands

There are only a handful options. After the Calendar.printgreatcircledistance() method is finished. The interface should allow the user to type in:

printgcd

to call the print great circle distance method in Calendar.java

This implementation should be pretty easy as there are numerous examples for other commands. All work for this issue should be done in Interface.java

Readme needs to be updated

many things have changed since, most of the stuff just needs to be deleted so people aren't led astray 😉

New Interface Option - Sort

When typing in:

commands

There are only a handful options. After the Calendar.sort() method is finished. The interface should allow the user to type in:

sort

to call the sort method in Calendar.java

This implementation should be pretty easy as there are numerous examples for other commands. All work for this issue should be done in Interface.java

Lessen the amount of files by using inner classes

Currently there are way too many files in the repo. Many of the classes are only used for a single function. At some point I will take the not needed classes and make them inner classes where they are needed. Examples of classes that don't need their own files:

  • MD5CheckSum
  • RandomStrings
  • Geo
  • Coordinate

It could also be possible to make Vevent an inner class of Calendar, but that could be too drastic

Probably won't tackle this until after the next deliverable

Calculate the great circle distance and print the results in a pretty format

Here are the requirements:
Your system can read- in an arbitrary number of event files for a single date,
sort of the events by start time, then compute the great circle distance ( https://en.wikipedia.or/wiki/Great-circle_distance), based on the geographic position of successive events. You shall record the great circle distance in the comment field of the first-occurring event (see section 3.8.1.4
about comments). Here’s an example: EventN occurs from 11am-1pm EventNplusOne occurs from 130pm-3pm EventNplusTwo occurs from 4pm-5pm
Your system will compute the great circle distance, in statue miles and kilometers,
from the location of EventN to EventNplusOne, and record that in the comment field
of EventN.
Similarly, your system will compute the great circle distance, in statue miles and
kilometers, from the location of EventNplusOne to EventNplusTwo, and record that
in the comment field of EventNplusOne.
The idea is to give the user an idea how far apart their events are (can they walk? Bus? Drive? Fly?)
But I said that location was optional for events. What if there is only one event?
What do you do with the last event of the day? What are you going to do then?
You’ll have to think about it and come up with something reasonable

Addsample add a random Vevent with random data

Currently the addsample command is used to add a fixed vevent to the calendar.

For later testing it may be useful to add a random event instead of a fixed event.

Add a setRandom() method in Vevent.java that will set all of the values to something random yet valid

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.