DintDate - to handle dates as easy as you handle simple integers

Name : DinDate , Version : 1.0

All the blocks

Instructions of extension


blocks(2)

Creates a dint using given year, month and day.

2

Creates a dint using any number of years, months and days.

3

Creates a dint using any number of years, months and days. but custom

4

Return the current date dint.

5

     * Adds years to a dint. A negative number is allowed.
     * If the dint day is the last day in a month then the resulting day will be the last day in a month as well.

10

Returns a number of days in a given month.

9

Adds a given number of days to a given dint. A negative number is allowed.

8

     * Adds months to a given dint. A negative number is allowed.
     * The resulting dint's number of days will be limited by a number of days in the resulting month.

7

     * Adds months to a given dint. A negative number is allowed.
     * If the dint day is the last day in a month then the resulting day will be the last day in a month as well.

6

    * Adds years to a dint. A negative number is allowed.
     * The resulting dint's number of days will be limited by a number of days in the resulting month.

15

Returns a month of a given dint.

14

Returns a year of a given dint.

13

Returns amount of days between two given dints.

12

Returns a dint at the last day of a month of a given dint.

11

Returns a dint at the first day of a month of a given dint.

17

Returns if a given year is a leap year.

16

Returns a day of month of in a given dint.

Download AIX :

com.aemo.dintdate.aix (10.1 KB)

Java lib used : GitHub - konmik/dint: A Java library for handling dates in a human-readable integer format.

If you find my extension useful, please support me

8 Likes

For me, aix file is corrupt after download - no component definition files

2 Likes

Updated it , work now i think

1 Like

Really good extension

1 Like

thank you really

1 Like

U R welcome :heart::slightly_smiling_face: