Tagged articles
26 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 28, 2024 · Frontend Development

Implementing a Xiaomi‑Style Calendar Component with React, TypeScript, TailwindCSS and Lunar Library

This article details how the author recreated Xiaomi's calendar using React functional components, TypeScript typings, TailwindCSS styling, and the lunar‑typescript library, covering the tech stack, core date calculations, view rendering, touch‑based scrolling, and view mode switching with complete source code examples.

CalendarLunarReact
0 likes · 29 min read
Implementing a Xiaomi‑Style Calendar Component with React, TypeScript, TailwindCSS and Lunar Library
php Courses
php Courses
Mar 25, 2023 · Backend Development

PHP Calendar Class Tutorial with Full Implementation

This tutorial explains how to build a reusable PHP Calendar class that handles year, month, navigation and renders an HTML table, and shows a simple front‑end script that loads the class and displays the calendar, complete with CSS styling and example output.

CalendarClassPHP
0 likes · 10 min read
PHP Calendar Class Tutorial with Full Implementation
Java Backend Technology
Java Backend Technology
Aug 26, 2022 · Fundamentals

10 Common Java Date API Pitfalls and How to Avoid Them

This article lists ten frequent mistakes when using Java's date and time APIs—such as misusing Calendar fields, wrong format patterns, thread‑unsafe SimpleDateFormat, and daylight‑saving quirks—and provides clear corrected examples and best‑practice solutions.

CalendarSimpleDateFormatTimezone
0 likes · 12 min read
10 Common Java Date API Pitfalls and How to Avoid Them
Aotu Lab
Aotu Lab
Apr 21, 2022 · Frontend Development

How to Build a High‑Performance Vertical‑Scroll Calendar with NutUI

This article explains the design and implementation of NutUI's vertical‑scroll Calendar component, covering data initialization, virtual‑list rendering, scroll and boundary handling, and extensible slots, props, and events to achieve both smooth interaction and optimal performance.

CalendarDate Pickernutui
0 likes · 12 min read
How to Build a High‑Performance Vertical‑Scroll Calendar with NutUI
IT Services Circle
IT Services Circle
Mar 24, 2022 · Fundamentals

Comprehensive Guide to Python Time Handling with calendar, time, and datetime Modules

This article provides a detailed tutorial on Python's time‑related classes and functions, covering Unix timestamps, conversion tools, and the practical use of the calendar, time, and datetime modules with examples of formatting, timezone conversion, and common time‑conversion tricks for everyday programming tasks.

CalendarPythondate-time conversion
0 likes · 18 min read
Comprehensive Guide to Python Time Handling with calendar, time, and datetime Modules
IT Services Circle
IT Services Circle
Mar 16, 2022 · Fundamentals

Six Ways to Get the Weekday of a Specific Date in Python

This tutorial explains six Python techniques—including datetime.weekday(), datetime.isoweekday(), strftime(), calendar, pendulum, and pandas—to retrieve the weekday of any given date such as 2022‑02‑22, with code examples and usage tips for data analysis.

Calendardatetimepandas
0 likes · 6 min read
Six Ways to Get the Weekday of a Specific Date in Python
Top Architect
Top Architect
Dec 31, 2021 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

The article explains a subtle Java date‑formatting bug where using the week‑based year pattern (YYYY) can incorrectly display the next calendar year for dates at year‑end, demonstrates the issue with sample code, and clarifies why yyyy should be used for ordinary year representation.

BackendCalendarDate Formatting
0 likes · 5 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
MaGe Linux Operations
MaGe Linux Operations
Oct 30, 2021 · Fundamentals

Master Python Essentials: Sets, Calendars, Enums, and More

This article presents practical Python tricks—including set operations, calendar calculations, enumerate usage with custom start indices, clean if‑else handling via enums, the enum module itself, and iPython basics—providing concise examples and explanations to help developers write more efficient and readable code.

CalendarIPythonPython
0 likes · 10 min read
Master Python Essentials: Sets, Calendars, Enums, and More
Sohu Tech Products
Sohu Tech Products
Jun 23, 2021 · Mobile Development

Implementing Weekday Calendar Reminders with Holiday Filtering on iOS

This article demonstrates how to create recurring iOS calendar reminders for Monday‑to‑Friday workdays, filter out Chinese statutory holidays using an external holiday‑cn JSON source, and handle make‑up workdays, providing complete Swift code and step‑by‑step explanations.

CalendarEventKitHoliday
0 likes · 17 min read
Implementing Weekday Calendar Reminders with Holiday Filtering on iOS
Laravel Tech Community
Laravel Tech Community
Jun 20, 2021 · Backend Development

PHP cal_info Function: Returns Calendar Information

The cal_info() PHP function returns detailed information about a specified calendar—including month names, abbreviations, maximum days, and identifiers—or all supported calendars when no argument is given, with usage examples and output illustrated.

BackendCalendarDocumentation
0 likes · 3 min read
PHP cal_info Function: Returns Calendar Information
MaGe Linux Operations
MaGe Linux Operations
Feb 15, 2021 · Fundamentals

Unlock Powerful Python Tricks: Sets, Calendars, Enums, and More

This article showcases practical Python tricks—including set operations for deduplication, permission handling with set differences, calendar month calculations, enumerate with custom start indices, clean if‑else handling via enums, and iPython usage—providing concise code examples that boost everyday development productivity.

CalendarIPythonPython
0 likes · 11 min read
Unlock Powerful Python Tricks: Sets, Calendars, Enums, and More
Qunar Tech Salon
Qunar Tech Salon
Mar 13, 2016 · Fundamentals

Understanding java.util.Date, Calendar, and SimpleDateFormat in Java

This article explains the legacy java.util.Date class, its limited useful constructors and methods, the more flexible java.util.Calendar API, how to format and parse dates with DateFormat and SimpleDateFormat, and best practices for storing timestamps in databases using long values.

CalendarSimpleDateFormatdatabase
0 likes · 9 min read
Understanding java.util.Date, Calendar, and SimpleDateFormat in Java