1. A first wireless user device comprising:at least one processor configured to:
determine a resource pool comprising communication resources selected from a plurality of transmission opportunities, wherein the selected communication resources comprise a sequence of transmission opportunities, in different time durations, for device-to-device communication;
determine, based on a length of the resource pool, a resource pattern for transmission (RPT) comprising a plurality of sub-RPTs, wherein each of the sub-RPTs indicates different transmission opportunities in the sequence of transmission opportunities and has a same selection pattern for indicating at least one transmission opportunity in which the first wireless user device transmits data; and
determine, based on the RPT and from the sequence of transmission opportunities, a first plurality of transmission opportunities for data transmission, wherein the sub-RPTs each excludes at least one transmission opportunity according to a same exclusion pattern, wherein a first one of the sub-RPTs precedes a second one of the sub-RPTs in the RPT; and
a wireless transceiver comprising at least one antenna and configured to:
receive, from a base station, at least one configuration parameter associated with device-to-device communication between wireless user devices; and
transmit, from the first wireless user device to a second wireless user device, the data via the first plurality of transmission opportunities.