<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hugo Jose</title>
    <description>The latest articles on DEV Community by Hugo Jose (@hugo_jose_9).</description>
    <link>https://dev.to/hugo_jose_9</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2916269%2Fa973280c-4674-4248-a242-14b5606583ab.jpg</url>
      <title>DEV Community: Hugo Jose</title>
      <link>https://dev.to/hugo_jose_9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hugo_jose_9"/>
    <language>en</language>
    <item>
      <title>Showcase: NaturalCron — Human-readable recurrence expressions for .NET</title>
      <dc:creator>Hugo Jose</dc:creator>
      <pubDate>Fri, 18 Jul 2025 04:52:51 +0000</pubDate>
      <link>https://dev.to/hugo_jose_9/showcase-recurlyex-human-readable-recurrence-expressions-for-net-55fb</link>
      <guid>https://dev.to/hugo_jose_9/showcase-recurlyex-human-readable-recurrence-expressions-for-net-55fb</guid>
      <description>&lt;p&gt;I built NaturalCron, a C# library that makes scheduling recurring events as easy to read as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;every 25 minutes on friday between 1:00pm and 3:00pm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Instead of wrestling with cryptic CRON syntax, you can define schedules in a natural-language–style format. It’s especially handy for storing schedules in a database or letting end-users view/edit them&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;using System;
using NaturalCron;

// Define an advanced expression
string expression = "every 30 minutes in [jan, jun] between 09:00 and 18:00";

// Parse and calculate next occurrence (local time)
NaturalCronExpr schedule = NaturalCronExpr.Parse(expression);
DateTime next = schedule.GetNextOccurrence(DateTime.Now);

Console.WriteLine($"Next occurrence: {next}");


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why?
&lt;/h2&gt;

&lt;p&gt;CRON is powerful but hard to read. RecurlyEx aims to bring flexibility and readability for developers and end-users alike.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/hugoj0s3/NaturalCron" rel="noopener noreferrer"&gt;https://github.com/hugoj0s3/NaturalCron&lt;/a&gt;&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>csharp</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
