Changes
Jump to navigation
Jump to search
← 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,438
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Modding
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
Upload file
Special pages
Printable version