Skip to content

Instantly share code, notes, and snippets.

@bsdlp
Last active August 29, 2015 14:03
Show Gist options
  • Select an option

  • Save bsdlp/27b85ec3394a3fde8da6 to your computer and use it in GitHub Desktop.

Select an option

Save bsdlp/27b85ec3394a3fde8da6 to your computer and use it in GitHub Desktop.
[error] /Users/jchen/git/birthday/src/main/scala/birthday.scala:4: type mismatch;
[error] found : org.joda.time.format.DateTimeFormatter
[error] required: com.github.nscala_time.time.Imports.DateTimeFormat
[error] (which expands to) org.joda.time.format.DateTimeFormat
[error] val df : DateTimeFormat = DateTimeFormat.forPattern("yyyy: EEEE")
[error] ^
............ after setting df to type DateTimeFormatter,
[error] /Users/jchen/git/birthday/src/main/scala/birthday.scala:4: not found: type DateTimeFormatter
[error] val df : DateTimeFormatter = DateTimeFormat.forPattern("yyyy: EEEE")
[error] ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment