History-dependent variational–hemivariational inequalities in contact mechanics. (April 2015)