# JobShard.JobShard(string, DateTimeOffset, DateTimeOffset)

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

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.DurableJobs/JobShard.cs#L127-L133)

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

Initializes a new instance of the [JobShard](/orleans/docs/api/csharp/microsoft.orleans.durablejobs/orleans.durablejobs.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.
