ISO8601Helper

org.eso.ias.utils.ISO8601Helper
object ISO8601Helper

Helper methods to handle times formatted as 8601: YYYY-MM-DDTHH:MM:SS.mmm

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def getTimestamp(time: Long): String

Value parameters

time:

The time expressed as milliseconds...

Attributes

Returns

the ISO8601 time representation of the passed time

def getTimestamp(date: Date): String

Value parameters

date:

The date

Attributes

Returns

the ISO8601 time representation of the passed date

def now(): String
def timestampToDate(timestamp: String): Date

Parse the passed string into a Date

Parse the passed string into a Date

Attributes

def timestampToMillis(timestamp: String): Long

Parse the passed string into a Date

Parse the passed string into a Date

Attributes

Concrete fields

val iso8601StringPattern: String

Pattern for ISO 8601

Pattern for ISO 8601

Attributes