Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DocumentLicense.getRemainingDays Method

Module: DocumentLicense

## Definition

Retrieves the number of remaining days.

Python

    @staticmethod
    get_remaining_days() -> int

Returns

> `int`
> The number of remaining days.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    static int getRemainingDays()

Returns

> `int`
> The number of remaining days.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public static int GetRemainingDays()

Returns

> `int`
> The number of remaining days.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public static int getRemainingDays() throws DocumentException

Returns

> `int`
> The number of remaining days.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public static func getRemainingDays() throws -> Int32

Returns

> `Int`
> The number of remaining days.

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentLicense_GetRemainingDays (
        int * remainingDays)

Parameters

> `remainingDays` int *
> out The number of remaining days.

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.