Skip to content

Instantly share code, notes, and snippets.

@longliveenduro
Last active December 28, 2015 05:39
Show Gist options
  • Select an option

  • Save longliveenduro/7451074 to your computer and use it in GitHub Desktop.

Select an option

Save longliveenduro/7451074 to your computer and use it in GitHub Desktop.
def convert(jodaOpt: Option[JodaDateTime]): Option[ThriftDateTime] =
jodaOpt.map (datetimeToThrift)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment