public class

DateConverter

extends Object
java.lang.Object
   ↳ com.pdftron.demo.browser.db.converter.DateConverter

Class Overview

Date converter for Room

Summary

Public Constructors
DateConverter()
Public Methods
static Date toDate(Long timestamp)
static Long toTimestamp(Date date)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DateConverter ()

Public Methods

public static Date toDate (Long timestamp)

public static Long toTimestamp (Date date)