Well, if it's the Edo period which was between 1603 and 1867 though since we did add in European influence the story should be near the end of the era, so maybe somewhere in 1840-1860?