77 lines
4.6 KiB
C#
77 lines
4.6 KiB
C#
|
|
using System.Collections.Generic;
|
|
using MayShow.Models;
|
|
|
|
namespace MayShow.Helpers;
|
|
|
|
class Constants
|
|
{
|
|
public static string AppVersion = "1.4.2";
|
|
|
|
public static string[] AllowedFileExtensionPatterns = [ "*.png", "*.jpg", "*.jpeg", "*.gif", "*.bmp", "*.webp", "*.pdf", "*.heic", ];
|
|
public static string[] AllowedFileExtensionsNoStar = [ "png", "jpg", "jpeg", "gif", "bmp", "webp", "pdf", "heic", ];
|
|
|
|
public static string ReportSavedDataFileName = "report_data.json";
|
|
|
|
public static List<DateDisplayFormat> GetDateDisplayFormats()
|
|
{
|
|
return [
|
|
new DateDisplayFormat("Month/Day/Year", "4/5/2026", "M/d/yyyy"),
|
|
new DateDisplayFormat("Year-Month-Day", "2026-04-05", "yyyy-MM-dd"),
|
|
new DateDisplayFormat("Month Day, Year", "April 5, 2026", "MMMM d, yyyy"),
|
|
new DateDisplayFormat("DOW, Month Day, Year", "Sunday, April 5, 2026", "dddd, MMMM d, yyyy"),
|
|
new DateDisplayFormat("Abbreviated-Month Day, Year", "Apr 5, 2026", "MMM d, yyyy"),
|
|
new DateDisplayFormat("DOW, Abbreviated-Month Day, Year", "Sunday, Apr 5, 2026", "dddd, MMM d, yyyy"),
|
|
new DateDisplayFormat("Day Month, Year", "5 April 2026", "d MMMM yyyy"),
|
|
new DateDisplayFormat("Day Abbreviated-Month, Year", "5 Apr 2026", "d MMM yyyy"),
|
|
new DateDisplayFormat("Day Month, Year", "05 April 2026", "dd MMMM yyyy"),
|
|
new DateDisplayFormat("Day Abbreviated-Month, Year", "05 Apr 2026", "dd MMM yyyy"),
|
|
];
|
|
}
|
|
|
|
public static string[] GetQuotes()
|
|
{
|
|
// sources:
|
|
// https://www.reddit.com/r/dadjokes/comments/1ehid23/dads_of_reddit_whats_a_short_clean_joke_that/
|
|
// https://www.thepioneerwoman.com/home-lifestyle/a35617884/best-dad-jokes/
|
|
// https://www.today.com/life/dad-jokes-rcna27325
|
|
// https://www.microscooters.com.au/blogs/family/100-dad-jokes-that-are-the-best-worst-in-the-book?srsltid=AfmBOopcTDq26iDYUsqaTjvUcVW6yxE-u942tatHC7Arns85unMMNfEO
|
|
return [
|
|
"When in the crucible of life, always remember to take your friends with you.",
|
|
"What do you call a paper airplane that won't fly? Stationary.",
|
|
"I used to be addicted to dad jokes, but now I'm all groan up.",
|
|
"I used to have a phobia about speed bumps. But I'm slowly getting over it.",
|
|
"Be careful trusting stairs. They're always up to something.",
|
|
"What do you call a fish with no eye? A fsh",
|
|
"How do you throw a party in outer space? You planet.",
|
|
"Why don't eggs tell jokes? They might crack up!",
|
|
"What do you call a snowman with a six-pack? An abdominal snowman!",
|
|
"Why did the math book look sad? Because it had too many problems!",
|
|
"I was going to tell you a joke about time travel, but you didn't like it.",
|
|
"I'm writing a book about glue, but I'm stuck on the first chapter.",
|
|
"If two vegetarians get in an argument, is it still called beef?",
|
|
"How do you stop a bull from charging? Cancel its credit card.",
|
|
"Why do seagulls fly over the sea? If they flew over the bay, they would be bagels.",
|
|
"What vegetable is cool, but not *that* cool? Radish.",
|
|
"How you fix a broken pumpkin? With a pumpkin patch.",
|
|
"Where do boats go when they're sick? To the dock.",
|
|
"Why was the broom late to class? It over-swept.",
|
|
"Wanna hear a joke about construction? I'm still workin' on it!",
|
|
"Which state has the most streets? Rhode Island.",
|
|
"What kind of car does a sheep like to drive? A lamborghini.",
|
|
"Where do surfers go for an education? Boarding school.",
|
|
"What do you get when you cross a fish with an elephant? Swimming trunks.",
|
|
"What did one eye say to the other? “Between us, something smells.”",
|
|
"When does a joke become a dad joke? When the punchline becomes apparent.",
|
|
"What do you call a cold puppy? A chili dog.",
|
|
"Why did the spider go to school? He wanted to be a web designer.",
|
|
"I was going to tell a sodium joke, then I thought, “Na.”",
|
|
"Did you hear about the two rowboats that got into an argument? It was an oar-deal.",
|
|
"What do you call birds that stick together? Velcrows.",
|
|
"How do birds learn to fly? They wing it.",
|
|
"Humpty Dumpty had a great fall. Summer wasn't too bad either.",
|
|
"How does the moon cut his hair? Eclipse it!",
|
|
"Why did the candle quit his job? He felt burned out."
|
|
];
|
|
}
|
|
} |