Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Other Programming › Java › Java Code time in and time out

QuestionJava Code time in and time out

Posts 1–2 of 2 · Page 1 of 1
JO
Joy4hacks
Java Code time in and time out
String tin[] = timeIn.split(":");
String tout[] = timeOut.split(":");

hours += ( Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]) ) >= 9 ? 8 : Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]);

someone tell me what this means?..i dont understand the part " 9 ? 8 : Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]);


currently practicing java.
pls answer me guys..
#1 · 13y ago
elamre
elamre
Quote Originally Posted by Joy4hacks View Post
String tin[] = timeIn.split(":");
String tout[] = timeOut.split(":");

hours += ( Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]) ) >= 9 ? 8 : Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]);

someone tell me what this means?..i dont understand the part " 9 ? 8 : Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]);


currently practicing java.
pls answer me guys..

This is a very rare expression, which barely gets used sadly enough.
It's basically the same as:

Code:
if(expression){

}else{

}
So here you have:
Code:
if(double - double >=9){
   hours+=8;
}else{
   hours+=double-double;
}
#2 · 13y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • Time And Fate [Out of map] Extensions and Spots 1By LegalGaming in Call of Duty Black Ops 2 Discussions
    1Last post 13y ago
  • Suddenly Spec and Time outBy CreepyMoto in Call of Duty Modern Warfare 2 Help
    2Last post 16y ago
  • im a big time noob and i need helpBy MoshPit1488 in Combat Arms Hacks & Cheats
    6Last post 17y ago
  • How to Change Date and TimeBy chocolatedaddy in Call of Duty Modern Warfare 2 Help
    3Last post 16y ago
  • [Request]KD ratio and time ct hack! :DBy sacredcrowds in Blackshot Hacks & Cheats
    6Last post 17y ago

Tags for this Thread

#java