title: Room database, SELECT * FROM table by a given day
body: <p>I'm using <a href="https://developer.android.com/topic/libraries/architecture/room.html" rel="noreferrer">Room Persistence Library</a> in my Android project, and store date using <a href="https://developer.android.com/reference/android/arch/persistence/room/TypeConverter.html" rel="noreferrer">date type converter</a>:</p>
  
  <pre><code>object DateConverter {
      @TypeConverter
      @JvmStatic
      fun fromTimestamp(value: Long?): Date? = if (null == value) null else Date(value)
  
      @TypeConverter
      @JvmStatic
      fun dateToTimestamp(date: Date?): Long? = date?.time
  }
  </code></pre>
  
  <p>How could I select from my table by a given <strong>day</strong> using using <a href="https://developer.android.com/training/data-storage/room/accessing-data.html" rel="noreferrer">Room DAO</a>? </p>