# JobShard.JobShard(string, DateTimeOffset, DateTimeOffset)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.jobshard/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.jobshard/constructors/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableJobs/JobShard.cs#L158-L187)

```csharp
protected JobShard(string id, DateTimeOffset startTime, DateTimeOffset endTime)
```

Initializes a new instance of the [JobShard](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.jobs.jobshard/) class.

### Parameters

- `id` (`string`): The unique identifier for this job shard.
- `startTime` (`DateTimeOffset`): The start time of the time range managed by this shard.
- `endTime` (`DateTimeOffset`): The end time of the time range managed by this shard.
