# ChartTimeTickUnit

Defines the calendar boundary used by a fixed time tick interval.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartTimeTickInterval.cs:6](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L6)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Defines the calendar boundary used by a fixed time tick interval.

## Inheritance

- Enum
- ChartTimeTickUnit

## Usage

 Explore 10 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 9

- Property [ChartTimeTickInterval.Unit](/api/chartforgex-core-charttimetickinterval/#property-unit)
- Field [ChartTimeTickUnit.Day](/api/chartforgex-core-charttimetickunit/#field-day)
- Field [ChartTimeTickUnit.Hour](/api/chartforgex-core-charttimetickunit/#field-hour)
- Field [ChartTimeTickUnit.Millisecond](/api/chartforgex-core-charttimetickunit/#field-millisecond)
- Field [ChartTimeTickUnit.Minute](/api/chartforgex-core-charttimetickunit/#field-minute)
- Field [ChartTimeTickUnit.Month](/api/chartforgex-core-charttimetickunit/#field-month)
- Field [ChartTimeTickUnit.Second](/api/chartforgex-core-charttimetickunit/#field-second)
- Field [ChartTimeTickUnit.Week](/api/chartforgex-core-charttimetickunit/#field-week)
- Field [ChartTimeTickUnit.Year](/api/chartforgex-core-charttimetickunit/#field-year)

### Accepted by parameters 1

- Constructor [ChartTimeTickInterval.ChartTimeTickInterval](/api/chartforgex-core-charttimetickinterval/#constructor-ctor-chartforgex-core-charttimetickunit-int32-dayofweek) parameter `unit`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from Enum

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

 `public override string ToString()` [#](#method-tostring) 

Inherited from Enum

Returns

 `string` 

 `public string ToString(string? format)` [#](#method-tostring-string) 

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const ChartTimeTickUnit Millisecond` [#](#field-millisecond) 

[ChartTimeTickInterval.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L8)

Milliseconds counted from the Unix epoch.

Value: `0`

 `public const ChartTimeTickUnit Second` [#](#field-second) 

[ChartTimeTickInterval.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L10)

Seconds within each minute.

Value: `1`

 `public const ChartTimeTickUnit Minute` [#](#field-minute) 

[ChartTimeTickInterval.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L12)

Minutes within each hour.

Value: `2`

 `public const ChartTimeTickUnit Hour` [#](#field-hour) 

[ChartTimeTickInterval.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L14)

Hours within each day.

Value: `3`

 `public const ChartTimeTickUnit Day` [#](#field-day) 

[ChartTimeTickInterval.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L16)

Days within each month, starting at day one.

Value: `4`

 `public const ChartTimeTickUnit Week` [#](#field-week) 

[ChartTimeTickInterval.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L18)

Weeks aligned to the selected weekday and counted from the Unix epoch's week.

Value: `5`

 `public const ChartTimeTickUnit Month` [#](#field-month) 

[ChartTimeTickInterval.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L20)

Months within each year, starting at January.

Value: `6`

 `public const ChartTimeTickUnit Year` [#](#field-year) 

[ChartTimeTickInterval.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimeTickInterval.cs#L22)

Calendar years aligned from year one.

Value: `7`

<!-- PowerForge markdown artifact sha256:15018494F1C1550C19E6E868F8CA7E6090A21CB4513F068C7AE8847BA4F2F70A -->
