Open main menu
Home
Random
Log in
Settings
About Stardew Valley Wiki
Disclaimers
Stardew Valley Wiki
Search
Changes
← Older edit
Newer edit →
Modding:Modder Guide/APIs
(view source)
Revision as of 23:10, 1 July 2017
92 bytes removed
,
23:10, 1 July 2017
→Dates
:
use upcoming-feature template
Line 491:
Line 491:
===Dates===
===Dates===
−
'''This is a proposed API that may be part of
SMAPI 1.15
. It's only available in preview versions of SMAPI and may change before release.'''
+
{{
SMAPI
upcoming
−
+
|version =
1.15
+
|content =
Use <tt>SDate</tt> for calculating in-game dates. You start by creating a date:
Use <tt>SDate</tt> for calculating in-game dates. You start by creating a date:
<source lang="c#">
<source lang="c#">
Line 525:
Line 526:
new SDate(01, "spring", 1).AddDays(-1);
new SDate(01, "spring", 1).AddDays(-1);
</source>
</source>
+
}}
===Semantic versions===
===Semantic versions===
Pathoschild
translators
8,404
edits