Sync for specified period of time

I will be having Last document Sequence number(Using Rest Api).
After that PULL Replication(sync) should happen only for mentioned period of time(Example: 1 week of data should be synced).How this should done in CBL Router code? Can You please guide .

Got some basic information- It should be added in sync function via some channel structure.

@sivamani,

You can’t dictate what seq for the replicator to start from or replicate to in CBL.
But you can do a pull replication by a list/array of document ID.