Python calendar yeardatescalendar method explanation with examples

yeardatescalendar method of python calendar module is used to get all dates for a specific year. It returns one list of rows of months. It takes one width parameter, that is used to define how many numbers of months each row should contain. Each month contains weeks between 4 to 6. Each week contains 1 to 7 days. Each day is a datetime.date object.

Read

React Navigation part 6: How to set and change the header title

By default, the name of a Stack screen is shown as the header title. For example, if we have one screen as below in the navigation container :.

Read

React Navigation part 5: How to update params of a screen

We may need to update the params of a screen. React navigation provides one method called setParams to do that. In this post, I will quickly show you how it works with an example.

Read

Python calendar monthdays2calendar method examples

Python calendar monthdays2calendar returns one list of weeks in a specific month and year. It returns the data as full weeks. Each data is a tuple holding day and weekday values.

Read

Python calendar monthdatescalendar tutorial

monthdatescalendar method of python module is used to get a list of weeks of a month of a specific year as full weeks. Each day of a week is represented as datetime.date object.

Read

Python calendar itermonthdays method with example

itermonthdays is defined in python calendar module. This method has four variants :.itermonthdays2(year, month), itermonthdays3(year, month, itermonthdays4(year, month)...

Read

Python calendar iterweekdays function example

iterweekdays() is a function defined in python calendar standard library. It returns one iterator for the weekdays numbers. The first value is the first-week day value that can be retrieved by firstweekday().

Read

React Navigation part 4: React native program to pass data between screens

React native navigation library provides an easy way to pass data from one screen to another. In this post, I will show you how to pass data from one screen to another in react native using the navigation library.

Read

Python infinity : infinite numbers and how to check infinite numbers

Python mathematical module math provides different mathematical constants and functions. One constant is for defining infinity. In this post, I will explain to you about constants and functions used for infinity. With

Read

Different ways to convert string to long in Kotlin

In this post, I will show you different ways to convert one string to long in Kotlin. Kotlin provides different methods that make it easy to achieve.

Read