Answers for "scala Datetime parse"


scala Datetime parse

public static DateTime parse(String str)
Parses a DateTime from the specified string.
This uses ISODateTimeFormat.dateTimeParser().

str - the string to parse, not null

import com.github.nscala_time.time.Imports._

val dateTime = DateTime.parse("5-10-2001")
Posted by: Guest on March-24-2022

Code answers related to "Scala"

Browse Popular Code Answers by Language