Rift basins that form along the margins of continents during the tectonic opening of an ocean basin may contain unusually rich concentrations of oil if the timing of geologic events was appropriate, or may contain virtually no energy resources if the timing was inappropriate.
This process usually takes the longest amount of time: an ocean basin forms between two continents.