What a pretty little engine !
It does say JAP on the drive side crankcase ?
Firstly, JAP mostly used a fairly complex series of letters to identify their engines, and any special features. If you can find a (possibly long) series of letters anywhere there, it should go a long way to identifying it. If it has numbers, they will give an indication of year.
2ndly, looks 1920s, more later 20s. Someone has done a lot of work fitting quite a sophisticated looking oilpump, and presumeably oiling system. Subeam engines usually had a Sunbeam badge inset into the timing cover itself ?
That Amal sidefloat carb looks decidely later. Likely to be quite a good performer because of it...
See where we go with the numbers/letters to give a year ??
JAP supplied literally dozens of manufacturers with engines, so pinning down a precise make it was fitted to may sometimes be somewhat problematical.
Cheers.