Result

case class Result(year: Int, day: Int, part: Int, solution: String, time: Double, timestamp: LocalDateTime, submitted: Boolean)

A class for representing the result of solving, or an attempt at solving, a problem from Advent of Code.

Value parameters:
day

the day in december which the problem is from

part

one or two

solution

a solution to the problem

submitted

whether the solution was submitted to and verified on the Advent of Code website

time

the time it took to solve the problem

timestamp

the time the problem was solved

year

the year which the problem is from

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def raw: String
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product