---
title: "System::Globalization::TaiwanCalendar::GetDaysInYear method"
url: "https://reference.aspose.com/pub/cpp/system.globalization/taiwancalendar/getdaysinyear/"
product: "Aspose.PUB for C++"
description: "System::Globalization::TaiwanCalendar::GetDaysInYear method. Gets number of days in specific year in C++."
---

## TaiwanCalendar::GetDaysInYear(int, int) const method


Gets number of days in specific year.

```cpp
int System::Globalization::TaiwanCalendar::GetDaysInYear(int year, int era) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year to get number of days in. |
| era | int | Era. |

### ReturnValue

Number of days in specified year of specified era.

## See Also

* Class [TaiwanCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PUB for C++](../../../)
## TaiwanCalendar::GetDaysInYear(int) const method


Gets number of days in specific year.

```cpp
virtual int System::Globalization::Calendar::GetDaysInYear(int year) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| year | int | Year to get number of days in. |

### ReturnValue

Number of days in specified year.

## See Also

* Class [TaiwanCalendar](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PUB for C++](../../../)
